问题
There is description tag in xml. It contains the html tags. I am using SAX parser in android to parse. But when it fetch data from the description tag then it does not fetch the html contents, not any tags. Then how i solve the problem of the html content parsing from the XML using SAX parser please help.
回答1:
It looks like you need wrap the description in CDATA element http://en.wikipedia.org/wiki/CDATA
来源:https://stackoverflow.com/questions/3625907/how-to-parse-the-html-content-in-android-using-sax-parser