Utilizando xpath y vtd-xml para obtener subnodos y texto de un elemento como una cadena

Esta es una parte de mi 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...

En vtd-xml utilicé un piloto automático con XPath "// L / D" y "// L / D / text ()" pero eso no funcionó.

ualquier consejo o enfoque alternativo será apreciad

Saludo

Respuestas a la pregunta(2)

Su respuesta a la pregunta