【发布时间】:2022-01-25 11:08:09
【问题描述】:
经过一些尝试,我还是想不通,应该如何/在哪里写入 XML 文件:
<xsl:if test="//txtA/text() != '' ">
<fo:block xsl:use-attribute-sets="dossier.p">
<xsl:value-of select="//txtA/text()" linefeed-treatment="preserve"/>
</fo:block>
</xsl:if>
【问题讨论】:
-
如果换行符在元素 txtA 中,则将换行符处理移动到 fo:block