新行字符在xslt中创建了一个问题 [英] new line character is creating a problem in xslt
问题描述
Hello Everyone,
Hello Everyone,
xslt中的新行正在为我创建一个问题。我搜索了很多,发现了很多在xslt中插入新行字符的方法。但没有任何结果。我尝试使用< xsl:text>< / xsl:text>,
< xsl:text>& #xa; < / XSL:文本>还有许多其他新行字符。但失败了。 Idont想要使用任何html字符,例如< br /> n all。 我只想知道如何在xslt中获得新的一行。
它取决于使用的操作系统,处理器,xslt版本还是其他什么东西?
New Line in xslt is creating a problem for me. i searched a lot and found many ways of inserting a new line character in xslt. but nothing is working out. I tried using <xsl:text></xsl:text>,
<xsl:text>
</xsl:text> and many such other new line characters. but failed. Idont wanna use any html characters like <br/> n all. I just wanna know how will i get a new line in xslt. Does
it depend on the os used, processor, xslt version or anything?
输出我想要的是:亲爱的abc,
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;你收到了一封邮件。
但我得到的是:亲爱的abc,你收到了一封邮件。
推荐答案
转移到XML论坛以获得更好的支持。
Move to XML forum for better support.
这篇关于新行字符在xslt中创建了一个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!