Re: [xml] [xpath] How to print xml fragment





2007/6/13, Stefan Behnel stefan_ml behnel de:
 
[CUT]
 
To write a node to a string, you can use xmlNodeDump or xmlNodeDumpOutput (if
you need encoding) to serialise it to a buffer:

http://xmlsoft.org/html/libxml-tree.html#xmlBufferCreate
http://xmlsoft.org/html/libxml-tree.html#xmlNodeDump
http://xmlsoft.org/html/libxml-tree.html#xmlBuffer
http://xmlsoft.org/html/libxml-tree.html#xmlOutputBuffer

Stefan
 
 

It seems that xmlNodeDump is what I want.
Thank you all, folks!
 
Massimo


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