在论坛中经常会碰到此类问题,回答的次数也记不清了.
XML文件:
ssm1226
]]>
使用XSL对其进行转换时,标准与草案中的处理是不同的.
标准中:
查看下标记说明:
select = expression
disable-output-escaping = "yes" | "no"
其中: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 "
针对以上XML文件,XSL文件可以这样:
草案中的计算脚本表达式,输出一个文本字符串
xsl:
this.text
输出HTML代码:
ssm1226