开发者

how to print "&" character in xslt?

I'm working with XSLT 1.0 and I would liked to print "&" (ampersand) character, as it is special character in xslt, it gives error. So please suggest the option. As we use &lt; to p开发者_Go百科rint "<" character.


use encoded version of & sign

&amp;


&amp; or ($amp; if $lt; works) will solve.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜