Tips: 解决XSLT中table内容<br/>换行问题
2014-08-27 13:18
681 查看
1. use CDATA contains the TEXT, like :
<Details>
<![CDATA[ Installation Kit <br/>
This will prepare your computer for use]]>
</Details>
use <br/> to begin with new row.
2. XSLT content:
<td>
<xsl:value-of select="Details" disable-output-escaping="yes" />
</td>
put the disable-output-escaping property
to "yes"
That is it. just try it again.
<Details>
<![CDATA[ Installation Kit <br/>
This will prepare your computer for use]]>
</Details>
use <br/> to begin with new row.
2. XSLT content:
<td>
<xsl:value-of select="Details" disable-output-escaping="yes" />
</td>
put the disable-output-escaping property
to "yes"
That is it. just try it again.
相关文章推荐
- Tips: 解决XSLT中table内容<br/>换行问题
- 开发日志:设置<DIV>内容不自动换行,及inline后width和height等失效的问题
- AngularJs输出字符串换行\n或<br/>不管用时,要用ng-bind-html配合解决
- <textarea>里的内容保存MYSQL后,页面输出不换行的解决方法
- 开发日志:struts标签[<s:selec>/<s:submit>/<s:form>......] 在table的时候位置错误 [会自动换行/自动生成tr、td的问题]
- 关于ul下<li></li>内插入<span>内容</span>标签自动换行不在同一行问题
- 如何解决服务器CPU使用率过高的问题<一>
- MyEclipse编写JSP,在<% %>中编写内容时卡死解决方法
- 解决VC6 --> VC2005 --> VC2008 中没有<sys/time.h> 问题
- 解决cxf+spring发布的webservice缺少<wsdl:types>和<wsdl:message>标签的问题
- asp.net中,在客户端,加入<%=....%>代码时出现的问题解决方法
- 在<table>或<div>中如何让传入的文本自动换行
- Note on <Zend Framework - A Beginner's Guide> - 02 ZF原理;继续解决第二章的问题
- 解决properties-maven-plugin不能读取<configuration>的问题
- NoSuchMethodException: org.apache.hadoop.io.ArrayWritable.<init>问题解决总结
- hadoop "File /user/<user>/input/conf/slaves could only be replicated to 0 nodes, instead of 1"问题及解决办
- 奋斗了n(n>7)小时,终于解决了连接远程JMS JNDI的问题:java.rmi.NoSuchObjectException: no such object in table
- 在<img src="..." title="..."> 中使title的内容换行的方法
- phpmyadmin " 无法载入 mcrypt 扩展,<br />请检查 PHP 配置"的问题解决办法
- List<> 转换为Dataset的C#代码实现 解决Nullable问题