Xml 如何解析CDATA或将CDATA新行替换为<;BR>;在XSL中?
我有一个带有CDATA内容的外部xml提要(纯文本格式) 我的问题:有没有办法使显示与检索到的XML节点相同?断线了Xml 如何解析CDATA或将CDATA新行替换为<;BR>;在XSL中?,xml,xslt,cdata,Xml,Xslt,Cdata,我有一个带有CDATA内容的外部xml提要(纯文本格式) 我的问题:有没有办法使显示与检索到的XML节点相同?断线了 RSS Description : This is the documentation for Book 1 This is published by Mr Smith This is 3rd edition of publishing 如果转换为HTML,则使用pre元素,例如 <pre style="white-space: pre;"> <xs
RSS Description :
This is the documentation for Book 1
This is published by Mr Smith
This is 3rd edition of publishing
如果转换为HTML,则使用
pre
元素,例如
<pre style="white-space: pre;">
<xsl:value-of select="RSS_Description"/>
</pre>
RSS Description : This is the documentation for Book 1This is published by Mr SmithThis is 3rd edition of publishing
RSS Description :
This is the documentation for Book 1
This is published by Mr Smith
This is 3rd edition of publishing
<pre style="white-space: pre;">
<xsl:value-of select="RSS_Description"/>
</pre>