[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Attribute Value Templates?
James Clark wrote: > Tyler Baker wrote: > > > > In section 2.7.11.3 of the most recent XSL spec: > > > > "In an attribute value that is interpreted as an attribute value > > template, such as an attribute of a literal result element, string > > expressions can be used by surrounding the string expression with curly > > braces ({}). The attribute value template is instantiated by replacing > > the string expression together with surrounding curly braces by the > > value of the string expression." > > > > It does not say anything about where attribute value templates can occur > > > > other than in a literal result element as far as I can see. > > In each case where an attribute value template is allowed, the spec says > so explicitly. > > The complete list of cases where it is currently allowed is: > > - literal attributes of literal result elements > > - number to string conversion attributes on xsl:number > > - value attribute of xsl:arg > > - default attribute of xsl:macro-arg > > - value attribute of xsl:define-constant > > James Thanx for the info. This is kind of how I read it, but for whatever reason this all did not seem cleae to me. I assume the spec will probably change for better or worse in the very near future, so I guess these sort of specific questions are all much about nothing for the time being. Thanx anyways for the clarifification... Tyler XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|