Re: [xml] Reason for distinction between xmlNode and xmlNodeList
- From: Daniel Veillard <veillard redhat com>
- To: Holger Rauch <Holger Rauch heitec de>
- Cc: xml gnome org
- Subject: Re: [xml] Reason for distinction between xmlNode and xmlNodeList
- Date: Tue, 20 Aug 2002 09:11:46 -0400
On Tue, Aug 20, 2002 at 03:08:25PM +0200, Holger Rauch wrote:
Hi!
Reading the API docs, I don't get the difference between xmlCopyNode() and
xmlCopyNodeList(). When setting the recursive flag of xmlCopyNode() to 1,
doesn't it behave in the same way as xmlCopyNodeList().
No. Recursion operate on children-> list of the given node while
Nodelist operates also on all the following siblings of the given node too
(through next-> list)
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]