Re: [xml] xmlTextReaderExpand expanding more than just the subtree
- From: "Buchcik, Kasimier" <k buchcik 4commerce de>
- To: "Michael Ransburg" <michael ransburg itec uni-klu ac at>
- Cc: xml gnome org
- Subject: Re: [xml] xmlTextReaderExpand expanding more than just the subtree
- Date: Tue, 11 Jul 2006 11:20:51 +0200
Hi,
-----Original Message-----
From: xml-bounces gnome org [mailto:xml-bounces gnome org] On
Behalf Of Michael Ransburg
[...]
I tried doing an xmlCopyNode of the node before expanding it
and then setting the ->next to NULL but it lead to the same
parsing errors (I expect that the "copy" of the node still
references the same XMLTextReader memory structure).
[...]
Just an info about removing nodes: try using xmlUnlinkNode()
or have a look at its code in order to remove nodes from
the tree; setting ->next to NULL might not be enough.
http://www.xmlsoft.org/html/libxml-tree.html#xmlUnlinkNode
Regards,
Kasimier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]