Hi Nahid,
an XML document cannot contain a & character, as it has a special meaning (beginning of an entity reference); why do you need to see the raw text instead of its meaning?

Alberto

Nahid wrote:
Hi,
Before posting, I've searched for the solution but can't find any. May be it
has a trivial solution.
I'm using SAX2XMLReader for parsing a huge XML file which contains entity
characters(&gt, &lt etc...)
"<title>abc &amp; cde</title>" which is converted to "<title>abc &
cde</title>" I don't want this auto conversion. I just want the actual text.
Do you have any idea, how can I do it?
Thanks
Regards
-Nahid


Reply via email to