Usando xpath e vtd-xml para obter sub-nós e texto de um elemento como uma string
Esta é uma parte do meu XML:
<MAIN>
<L>
<D>string1 string2 <b>string3</b> string4</D>
</L>
<L>
<D>string5 string6 <b>string7</b> string8 <i>string9</i></D>
</L>
</MAIN>
I want to get the content of all the <D> tags as string. So, the example above should return:
1st iteration: 'string1 string2 <b>string3</b> string4'
2nd iteration: 'string5 string6 <b>string7</b> string8 <i>string9</i>'
etc...
No vtd-xml, usei o AutoPilot com XPath "// L / D" e "// L / D / text ()", mas isso não funciono
ualquer conselho ou abordagem alternativa será apreciad
Saudaçõe