Re: [xml] Save a text to a node with subnodes



On Thu, Jan 11, 2007 at 05:32:45PM +0100, Andreas Tscharner wrote:
Hello World, hello Daniel,

I have a XML text containing nodes and subnodes
(e.g."<Main>#A<SubNode>#A<SubSubNode>Example</SubSubNode>#A</SubNode>#A<
/Main>"). Now I want to save this string so that I get a xmlNodePtr
pointing to Main, with all subnodes.

  I honnestly don't understand your request. If you save the tree as a 
string I don't see how this can relate to a xmlNodePtr ... Either you
are talking about the serialized string or about the tree but I don't
understand how you mix both.

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]