W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2001

Extension attributes

From: Jeni Tennison <jeni@jenitennison.com>
Date: Mon, 19 Nov 2001 11:18:46 -0500 (EST)
Message-ID: <306854726.20011119155450@jenitennison.com>
To: xsl-editors@w3.org
Hi,

There are certain attributes in the XSLT namespace that can be placed
on any literal result element (e.g. xsl:exclude-result-prefixes,
xsl:use-attribute-sets).

Currently, though, if you specify an extension attribute on a literal
result element, in a namespace other than the XSLT namespace, it
always gets added to the result tree [Section 7.1.1].

I think it would tie in better with the behaviour of the XSLT
attributes and with extension elements if the effect of
extension-element-prefixes/xsl:extension-element-prefixes were
extended such that attributes with extension namespaces are not added
to the result tree.

I haven't got a real use case for it, but the fact that there are such
attributes in the XSLT namespace implies that it's possible to think
of extension attributes for xsl:element, and hence for literal result
elements, that you wouldn't want to include in the result tree.

Cheers,

Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Monday, 19 November 2001 12:40:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT