[
Lists Home |
Date Index |
Thread Index
]
> removed non-XSLT-namespace _attributes_ it wouldn't be much use, but
> that whole business works because XSLT processors are more-or-less
> required to use Simon's best-practice recommendation, and take
> unprefixed attributes in XSLT elements to be also in that namespace.
But only if you use your own private definition of what it means to be
in a namespace. XSLT processors can not assume that the version
attribute in
<xsl:stylesheet version=...
is in the XSLT namespace because
if the attribute was in the XSLT namespaec it would be equivalent to
<xsl:stylesheet xsl:version=...
and that's an error.
> Badly expressed -- I only meant that the concept `global attribute'
> doesn't seem at all valuable, and appears to only confuse things.
The concept of "global attribute" as defined by the namespace spec is the
same as the concept of "attribute in a namespace". Whether or not it is
useful depends on your view of how useful namespaces are.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
|