[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
attribute value templates: where to be allowed?
Subject: attribute value templates: where to be allowed?
From: "igor" <igorp1@xxxxxxxxxxx>
Date: Fri, 6 Nov 1998 16:18:17 +0200
|
According to XML Working Draft, values of
attributes have to be interpreted as attribute value templates in case
of
Literal Result Elements (2.7.2)
'level', 'count', 'from', 'format' in xsl:number
(2.7.8)
'value' in xsl:define-constant
(2.7.12)
'value' in xsl:arg, 'default' in xsl:macro-arg
(2.7.13)
Why all the rest of XSL Elements is discriminated? What
prevents from qualified patterns like this:
<xsl:-process
select="data-tag[attribute(type)]='{../query-tag}']"/>
?
By the way, WD postulates that
...when used with xsl:number the value of each of these
attributes is interpreted as an attribute value template.
However, in James Clark's XT attribute value templates are
instantieted only for 'format' value (call to getNumberListFormatTemplate(node)
in NumberParser::parse). Values for other attributes are not processed as
attribute value template (i.e., getOptionalAttribute(node, LEVEL,
"single"), etc.). Is it intended?
Igor Pechersky
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|