|
I am using XmlPullParser to parse an xml input string and output
portions of it to a string buffer. I am using next() to obtain
events. When I have an event type of TEXT, I use getText() to obtain
the text. However, if the text contains a standard character entity,
such as &, it is converted to an ampersand. How do I avoid that
conversion so that I can output the character entity rather than the
ampersand? I have read the documentation, but I am still confused.
Thank you for your help.
|