Subject: RE: Xalan + attribute name
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 19 Oct 2000 10:39:50 +0100
|
> <foo bar="bar"> is therefor considered as <foo bar> by the
> HTML method.
>
> Xalan is just doing here what is written in the XSLT 1.0 spec [1] !
No, that isn't what the XSLT 1.0 spec says. It says this treatment should
only apply to those HTML elements/attributes that are "booleans".
(A long while ago in Saxon I tried to take this shortcut, of abbreviating
the output for any attribute whose name was equal to its value, and I got
badly bitten by it.)
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|