[xsl] Best practice question, regarding escaped entitiy declarations

Subject: [xsl] Best practice question, regarding escaped entitiy declarations
From: "Snow, Corey" <CSNOW@xxxxxxxxx>
Date: Tue, 26 Mar 2002 10:48:18 -0800
Let's say I have an XSLT stylesheet which needs, under certain
circumstances, to output the British Pound symbol. It is represented in HTML
as &pound;. However, in order to make the XSL parser play nice with it, I am
forced to use something like this:

&amp;pound;

Which seems a bit kludgy. If this is the acceptable method, it's fine- but I
wondered if it's considered a better way to go than outputting the Unicode
&#xA3; (had to go and dig up this one at the unicode web site). My
preference is to use the Unicode character directly, but I'm wondering if
that leads to its own problems.

Comments? Thanks,

Corey Snow

#########################################################
The information contained in this e-mail and subsequent attachments may be privileged, 
confidential and protected from disclosure.  This transmission is intended for the sole 
use of the individual and entity to whom it is addressed.  If you are not the intended 
recipient, any dissemination, distribution or copying is strictly prohibited.  If you 
think that you have received this message in error, please e-mail the sender at the above 
e-mail address.
#########################################################

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


Current Thread