Hi, In my xmldoc I have sections as follows. The slot sections contain interface sections as indicated. I need to periodically remove all the interface sections along with its children and re-add them. Say I want to remove one <interface> node along with its children. My question is, If I call xmlUnlinkNode() on <interface> node first and then xmlFreeNode() on <interface> node second will it successfully remove the <interface> node and its children withouth any memory leak ?
<slot> . . .</slot> <slot> . . . <interface> <name>wlan1</name> <state>connected</state> <type>wifi</type> <ipv4info> <address>10.10.0.102</address> <netmask>255.255.255.0</netmask> <broadcast>10.10.0.255</broadcast> </ipv4info> </interface> . . . </slot> <slot> . . . </slot> Thanks Samitha
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml