RE: [xsl] <xsl:attribute name="href"> formatting problem

Subject: RE: [xsl] <xsl:attribute name="href"> formatting problem
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 7 May 2004 10:25:56 +0100
> I would guess that the html serializer is smart enough to 
> know that you can't have an umlaut in a URL, but not smart 
> enough to detect that you are in a javascript function (just a guess).

Or to put it another way, the XSLT 1.0 spec is not smart enough to recognize
that people sometimes want to generate invalid HTML.

XSLT 2.0 makes a concession to this requirement by allowing
escape-uri-attributes="no" in xsl:output.

Michael Kay

Current Thread