|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] ampersand character in xsl attribute?
Hi all,
I'm a newbie to the list, so I apologize if this has been answered before.
I've been searching everywhere for a solid answer on this.
Is it true that it's impossible to have a stylesheet ouptut an "&"
character when inside an attribute? For example, I have a URL that
includes an ampersand as part of a query string -- not the entity -- and I
can get this to print out just fine when doing a simple <xsl:value-of>, but when it's inside an
<xsl:attribute> or even when I hold it in a variable and do <A
HREF="{$foo}">, it always prints out &.
I've tried disable-output-escaping with no luck. Very frustrating... I
realize it's "bad HTML" to not use &, but since this is for an HTML
version of a newsletter, I don't trust that email clients will convert the
URL correctly. Not sure who's bright idea it was to make the beginning
character of an entity, an entity itself :)
Thanks!
Dan Cederholm
--
dan@xxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








