[xml] how to get xml as a text?



hi!

I am new to this list, and to libxml too.
so please be patient.
:)

I have an xml file like this

<login>
<send>
<s v="2"/>
</send>
<recv/>
</login>

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
"send".
I have tried functions like
xmlNodeGetContent
xmlNodeListGetString

but none if them returns what I want.


please help

regards
hubert



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