Hello there,

I am sorry if this is a newb question, I really tried everything else before asking here for help...
Currently I'm using the daeElement::add(daeString name) method to create COLLADA elements in the DOM tree. The problem is, this method is text based, so I am trying to use the dom* classes for creating elements, more precisely dom*::create(DAE& dae), but this seems not to work. Creating element returns a valid pointer, but as soon as I add it to its parent element via add(daeElement), the program crashes without generating any output... What am I doing wrong?

I read about it in the collada book. It says something about an element factory, but I have no idea what this is... The article in the DOM Wiki is not very explainatory either, it deals mostly with the text-based method...

Thanks in advance!