Re: [xml] how to get xml as a text?

On Sat, May 10, 2003 at 12:08:43AM +0200, Hubert Soko³owski wrote:
I know how to parse this file, how to get attributes and text, but
I need to get "<s v='2'/>" as xmlChar*, I mean the whole content of a node
I have tried functions like

but none if them returns what I want.

  See xmlNodeDump() , you will have to build a buffer and get its content
value. See xmlElemDump() as an example.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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