[xsl] write out '&' instead of '&'

Subject: [xsl] write out '&' instead of '&'
From: "Sun, Christine (Cahners)" <csun@xxxxxxxxxxx>
Date: Wed, 17 Jan 2001 15:00:36 -0500
Using Xalan to do xml to xml transformation. Need write out special
characters as entities, e.g. &#039; as apostrophe. Now the number is a
variable, but '&#<xsl:value-of select="$entityNumber">;' will not work in
xslt. And I don't want to write '&amp;#<xsl:value-of
select="$entityNumber">;'. What will be the way to get around it?

Thanks,
Chris


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread