This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ampersand character in xsl attribute?


> 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.

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 & 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]