[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ampersand character in xsl attribute?

Subject: Re: ampersand character in xsl attribute?
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 17 Dec 2001 20:09:54 -0700 (MST)
ampersand in xslt
> I've tried disable-output-escaping with no luck.  Very frustrating... I
> realize it's "bad HTML" to not use &amp;, but since this is for an HTML
> version of a newsletter, I don't trust that email clients will convert the
> URL correctly.

You won't find much sympathy around here :)

You will have to trust that email clients will convert the URL correctly.

Some XSLT processors have extensions that let you disable output escaping
on attribute values. But in general, it's never needed. If the client
purports to support HTML, it's required to interpret &amp; as & and not
just blindly copy the URI reference from the attribute value. 

   - Mike
____________________________________________________________________________
  mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.