I'm creating a news app for android where news data transfered to clients using xml. The problem is how can i embed news content inside xml ? News content contains html tag. Here is part of my x开发者_开发知识库ml data
<title>xxx</title>
<date>xx</date>
<content>html here</content>
You will have to use the CDATA
-Tag:
http://www.w3schools.com/xml/xml_cdata.asp
精彩评论