i'm newbie xml/libxml. i'm trying simple.
i have node :
<tag attr="example" attr2="example2"/>
which stored in xmlnode. want following xmlchar* :
"<tag attr="example" attr2="example2"/>"
i tried xmlnodegetcontent , xmlnodelistgetstring none of them seem want.
i'm using libxml2 in c. file xml version 1.0
xmlnodegetcontent
isn't you're looking : check this page info on behavior.
i think function you're looking xmlnodedump
, of course require valid buffer.
Comments
Post a Comment