问题描述:

Need to store HTML content as a value in the resource bundle (XML format). The HTML tags are conflicting with the XML tags. How can I store the HTML string without using character entity references (< and >)

网友答案:

Put it between <![CDATA[ and ]]>.

网友答案:

have you tried using "CDATA ". CDATA section will be ignored by the parser.

see example here. http://www.w3schools.com/xml/xml_cdata.asp

相关阅读:
Top