I'm using manipulation functions like xmlAddChild and xmlAddNextSibiling in my javascript binding library (http://github.com/polotek/libxmljs). I whenever I use these I have a function that checks whether the incoming new node is already a child of a different document and if so it does a node copy and destroys the old node. I've now been told that this isn't necessary because functions like xmlAddChild already do this check and will do the document transfer for me. Is this correct? What other things should I take into account when transferring nodes across documents?
:Marco -- Marco Rogers [email protected] Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
