开发者

How to parse the html content in android using SAX PARSER

开发者 https://www.devze.com 2023-01-13 22:55 出处:网络
Ther开发者_JS百科e 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 cont

Ther开发者_JS百科e 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.


It looks like you need wrap the description in CDATA element http://en.wikipedia.org/wiki/CDATA

0

精彩评论

暂无评论...
验证码 换一张
取 消