On Fri, Apr 14, 2006 at 12:07:42PM +0530, Chetan Raj wrote: > Hi All, > > I am new to Libxml. I am trying to find an API in Libxml that can give me > xmlNodeSetPtr for all the children nodes of a xml subtree.
A node set can be one of the results of an XPath query. So you would have to make an XPath query corresponding to the childrens. But that sounds wrong to me, if you want to walk the children of a node it's part of the tree structure so why spend time to create artificially an extra structure for this ! Daniel -- Daniel Veillard | Red Hat http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
