Hi all,
I have a xml file
-<emit>
<CNPJ>87456562003652</CNPJ>
<xNome>JOSAPAR JOAQUIM OLIVEIRA S/A PARTICIP</xNome>
-<enderEmit>
<xLgr>TRECHO 01,CONJ.04,LOTE 03,PARTE 03</xLgr>
<nro>S/N</nro>
<xBairro>SANTA MARIA</xBairro>
<cMun>5300108</cMun>
<xMun>BRASILIA</xMun>
<UF>DF</UF>
<CEP>72501100</CEP>
</enderEmit>
<IE>0742343100266</IE>
<CRT>3</CRT>
</emit>
-<dest>
<CNPJ>02561393000138</CNPJ>
<xNome>APROS INDUSTRIA E COMERC.LTDA</xNome>
-<enderDest>
<xLgr>QNN 03 CJ D LTS 35 A 47- 015341</xLgr>
<nro>S/N</nro>
<xBairro>CEILANDIA</xBairro>
<cMun>5300108</cMun>
<xMun>BRASILIA</xMun>
<UF>DF</UF>
<CEP>72225010</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
</enderDest>
<IE>0738591000107</IE>
</dest>
If I use xmlNode := xmlIter:Find('CNPJ') i get a value 87456562003652 how i can get a CNPJ value <dest> node?
Thanks in advance.