Re: [xml] Is there an API for obtaining xmlNodeSetPtr for all the nodes within a xml sub-tree ?
- From: Daniel Veillard <veillard redhat com>
- To: nico <sl1200mk2 gmail com>
- Cc: Chetan Raj <hichetu gmail com>, xml gnome org
- Subject: Re: [xml] Is there an API for obtaining xmlNodeSetPtr for all the nodes within a xml sub-tree ?
- Date: Fri, 14 Apr 2006 05:37:11 -0400
On Fri, Apr 14, 2006 at 11:25:30AM +0200, nico wrote:
i make a loop while node is not null
while(node)
{
/*......*/
node = node->next;
}
with some strcmp, find and use the desired data.
is it a good way?
yes that's how to iterate over a node children list.
Daniel
--
Daniel Veillard | Red Hat http://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]