Vedantam, Pavan wrote:
Hi,
I am trying to delete nodes within an XML file and i keep getting some
garbage when i delete a node. I am using , xmlFreeNode(). I see the same
behaviour with xmlUnlinkNode(). Also it would be great if some one could
suggest on how to preserve the formatting when there is a deletion or
addition of nodes.
regards,
Pavan
Hi Pavan,
I believe you need to unlink the node first, then free it, i.e.
xmlUnlinkNode (pNode);
xmlFreeNode (pNode);
- Rush
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml