禁用输出转义=";是”;在XSLT中,1.0不适用于

我有下面给出的XML代码,XSLT1.0代码没有处理 没错禁用输出转义=";是”;在XSLT中,1.0不适用于&#xA;,xslt,newline,Xslt,Newline,我有下面给出的XML代码,XSLT1.0代码没有处理 没错 <customnote> <sketchpads title="PT Follow up" doctypeid="1025" doctypename="PHYSICAL THERAPY NOTES"> <sketchpad seq="0" canvasheight="500px" expandcount="0"> <text data="40/54
<customnote>
<sketchpads title="PT Follow up" doctypeid="1025" doctypename="PHYSICAL THERAPY NOTES">
<sketchpad seq="0" canvasheight="500px" expandcount="0">
<text data="40/54

S: States neck is stiff and tight today.

O: Manual therapy 30 min.
STM to B CS paraspinals PA to C4-C7 gr.I-II.
B UT and levator stretches 2x30" each.

A: increased tightness to B CS paraspinals L>R.

P: Decrease pain and in AROM.

PT: Yolanta Boese
 "/>
</sketchpad>
</sketchpads>
</customnote>
我怀疑您的问题在于HTML中的换行符不会导致文本显示在新行上;它被视为等同于空间。如果希望文本显示在浏览器中的新行上,则需要使用
元素(或者,例如
元素)
例如,见
问题完全与禁用输出转义无关
<xsl:value-of select="customnote/sketchpads/sketchpad/text/@data" disable-output-escaping="yes"/>