在xsl中title属性如何实现换行?

liul17 2006-10-20 02:38:36
下面是我在xsl中的内容:
<td title="{substring(pro_starttime,12,5)}-{substring(pro_endtime,12,5)}\n" onclick="javascript:showDetail('{pro_id}');" ><xsl:value-of select="pro_name"/></td>

我想实现在title属性里显示下面格式的内容:
time:2006/10/16 - 2006/10/20
name:xxxxxxxxx
descript:xxxxxxxxxxxxxxxxxxxxxxxxx


但我试过 \n,<br>,<br/> 都不行 请问应该怎么写才能实现换行 ?

...全文
236 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
chinalinx 2006-10-28
  • 打赏
  • 举报
回复
chr(10)chr(13)

试试
DARKLY 2006-10-22
  • 打赏
  • 举报
回复


试试

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧