RE: [xml] saving node to a buffer




Never mind, I discovered the function xmlNodeDumpOutput
which appears to do what I want.

-----Original Message-----
From: Roger Reynolds [mailto:rogerr softix com]
Sent: Wednesday, April 14, 2004 11:37 AM
To: 'xml gnome org'
Subject: [xml] saving node to a buffer


Given a node in a tree, how does one obtain a string which would represent
the "outer xml" for the node, if you know what I mean?
(by outer xml, I mean an xml element that represents this node and it's
 children, contrasted with the "inner xml" which I believe would be
equivalent
  to the "content" member of this node, right?)

I started out to use xmlSaveToBuffer to create a save context
to use with xmlSaveTree, however in version 2.6.8 this function, 
although documented, is not implemented.

There's got to be a way, right?

Thanks in advance..

roger




_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml



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