Re: [xml] Building DOM: Removing nodes



On Tue, Nov 19, 2002 at 01:16:12AM +0100, Murray Cumming wrote:
Is there any way to remove child nodes from the tree?

  xmlUnlinkNode(node);
  xmlFreeNode(node);

should be sufficient.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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