如何显示& nbsp;在Mozilla中使用XSL。 [英] how to display   in Mozilla using XSL.

查看:114
本文介绍了如何显示& nbsp;在Mozilla中使用XSL。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Mozilla中使用XSL显示& nbsp; 。我试过CDATA,但是没有成功。

我使用Firefox 3.5.5

解决方案

由于您不能将HTML字符实体直接放置到您的XSLT源代码中(& lt; & gt; & & quot; code& amp; ),你将需要使用数字实体。所以你应该使用:

   


How can I display   in Mozilla using XSL. I've tried CDATA but that didn't work.

I am using Firefox 3.5.5

解决方案

As you can't place an HTML character entity directly into your XSLT source (except for <, >, ', " and &) you will need to go with numerical entities. So you should to use:

 

这篇关于如何显示& nbsp;在Mozilla中使用XSL。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆