Re: [xml] how to remove/delete a child node?



Kristine Rudkin wrote:
Pawel,

thank you for the information - one last question:
will unlinking/freeing the top child node take care 
of any sub-child nodes underneath of it, or will I
need to recurse through the sub-children and perform
an unlink/free on them individually?

thanks again!
rudkin

xmlFreeNode() is recursive; xmlUnlinkNode() also is all you need to remove
node from tree.

P.P>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]