Reputation: 1125
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 < to print "<" character.
<
Upvotes: 4
Views: 3508
Reputation: 45214
& or ($amp; if $lt; works) will solve.
&
($amp;
$lt;
Upvotes: 1
Reputation: 13756
use encoded version of & sign
Upvotes: 5