W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Re: Handling Ampersands

From: Martin Duerst <duerst@w3.org>
Date: Thu, 21 Jun 2001 10:40:22 +0900
Message-Id: <4.2.0.58.J.20010621103752.0580b340@sh.w3.mag.keio.ac.jp>
To: vdv@dyomedea.com, "Whitwell, Martyn" <martyn.whitwell@ic.ac.uk>
Cc: xmlschema-dev@w3.org
At 17:07 01/06/20 +0200, Eric van der Vlist wrote:
>If this transformation is done through XSLT into a HTML href element,
>the XSLT processor will take care of unescaping the "&amp;"...

The XSLT processor will temporarily (for internal processing)
unescape the &amp;, but put it back in again when producing
the HTML. HTML requires it as much as XML.

(Most browsers are lenitent in that they deal with a simple &,
too, but this is just bugwards compatibility, nothing else.)


Regards,   Martin.
Received on Wednesday, 20 June 2001 21:43:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT