Re: [xml] Getting element content non-recursively
- From: Daniel Veillard <veillard redhat com>
- To: Caroline Middlebrook <caroline middlebrook aston tv>
- Cc: xml gnome org
- Subject: Re: [xml] Getting element content non-recursively
- Date: Wed, 20 Sep 2006 04:04:19 -0400
On Wed, Sep 20, 2006 at 08:41:58AM +0100, Caroline Middlebrook wrote:
Well, that's too bad. I have to admit that I don't quite see what you're
doing, but I will offer one idea to think about.
Basically, I have some XML, which I want to insert into another piece of
XML. That's it! I just can't seem to find a way to do that correctly!
copy and paste ! Yes you need 2 operations to be sure if you don't understand
libxml2 internals:
http://xmlsoft.org/html/libxml-tree.html#xmlDocCopyNode
http://xmlsoft.org/html/libxml-tree.html#xmlAddNextSibling
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]