D
Dario Di Bella
Hi all,
I hope someone can help me on this. I need to parse the following XML:
....
<area name="promotore">
<item id="004" code="003" description="attivita promotore">
<![CDATA[» Attività Promotore]]>
</item>
</area>
....
As you can see I used the CDATA section to include special characters.
Unfortunately as I parse the file, the "item" element content turns to
be:
» Attività Promotore
i.e. the "Â" character is inserted at the beginning of the string and
the "à" character is translated into "Ã ".
I'm using the javax.xml.parsers.DocumentBuilder parser.
Has anyone got any clue? Thanks.
Dario
I hope someone can help me on this. I need to parse the following XML:
....
<area name="promotore">
<item id="004" code="003" description="attivita promotore">
<![CDATA[» Attività Promotore]]>
</item>
</area>
....
As you can see I used the CDATA section to include special characters.
Unfortunately as I parse the file, the "item" element content turns to
be:
» Attività Promotore
i.e. the "Â" character is inserted at the beginning of the string and
the "à" character is translated into "Ã ".
I'm using the javax.xml.parsers.DocumentBuilder parser.
Has anyone got any clue? Thanks.
Dario