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: <>
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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:52 UTC