Hello,
I have this test XML document
<test>
<line>data</line>TEXTDATA
</test>
I can successfully parse this document and a tree is built. My question is how to reach this little textblock "TEXTDATA". Using Node->next or Node->last etc does not work, since it reaches a NULL before the closing tags already.
So how do I reach TEXT contents which is located between closing tags of an XML document.
There must be an easy solution since it is visible in the output of xmllint. I am using libxml2 version which comes default with RedHat 8.0
Hope somebody can help me.
Thanks in advance,
Bobby.