Re: [xml] Reason for distinction between xmlNode and xmlNodeList

On Tue, Aug 20, 2002 at 03:08:25PM +0200, Holger Rauch wrote:

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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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