开发者

how to print "&" character in xslt?

开发者 https://www.devze.com 2023-03-07 14:30 出处:网络
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.

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

精彩评论

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