Not long ago, I wrote an article on the combination of XML I originally wanted to write an example, but then I checked on Google and found that someone had already written it. Just at: http://java.blogger.cn/wuyu/posts/1460.aspx
Note: xsl’s disable-output-escaping="yes"
The core Just use disable-output-escaping="yes"
MSDN describes it as follows:
disable-output-escaping
Default is "no". If the value is " yes", a text node generated by instantiating the element will be output without any escaping. For example, the following generates the single character "Note?? disable-output-escaping="yes" can be used to generate non-well-formed documents, and thus should be used with caution, because non-well-formed output may generate errors in certain circumstances. For example, transformNodeToObject to an XML document requires that the result be well-formed and thus may not complete ifdisable-output-escaping has affected the well-formedness of the document. Consider disable-output-escaping="yes" an advanced feature to be used only when the potential dangers are understood.