Subject: Re: [xsl] & as & in URLs not for HTML?|
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Wed, 09 Feb 2005 02:03:16 +0100
Hi, We currently use Xalan to transform our XML files to HTML 4. At least the used version (2.4 or 2.5 I think) does not escape & to & for attributes (URLs of img/@src for example). When changing the xsl:output to "xml" and actually producing XHTML it does.
Is this a Xalan only behaviour or actually correct? The W3C validator does not validate HTML4 pages with unescaped ampersands so I suspect a Xalan problem but maybe it actually is correct...
Thanks for any hint
-- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760