[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
allowed values process template
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
Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.