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

Re: xsl:document href attr: attr value templates?

From: Steve Muench <Steve.Muench@oracle.com>
Date: Tue, 26 Dec 2000 13:37:04 -0800
Message-ID: <018c01c06f83$fd3790d0$fc652382@us.oracle.com>
To: "Bob DuCharme" <bobducharme@earthlink.net>
Cc: <xsl-editors@w3.org>

All attributes that are interpreted as Attribute Value Templates
are indicated as such in their syntax summary. See Section 18
on "Notation"...

[18 Notation]

  The meaning of syntax summary notation is as follows:

    (*) An attribute is required if and only if its name is in bold.

    (*) The string that occurs in the place of an attribute value
        specifies the allowed values of the attribute. If this is 
        surrounded by curly braces, then the attribute value is 
        treated as an attribute value template, and the string 
        occurring within curly braces specifies the allowed values
        of the result of instantiating the attribute value template.

Also note section 16 in the HTML-with-change-highlights
version of the XSLT 1.1 spec that the <xsl:output> element's
syntax summary has changed to reflect that its attributes
are now interpreted as AVT's as well for consistency with

Hope this helps.

Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly

----- Original Message ----- 
From: "Bob DuCharme" <bobducharme@earthlink.net>
To: <xsl-editors@w3.org>
Sent: Tuesday, December 26, 2000 1:21 PM
Subject: xsl:document href attr: attr value templates?

| I can't figure out from the 1.1 WD whether I can use an attribute
| value template in an xsl:document element's href attribute. For
| example, can I do the following?
|   <xsl:variable name="var1">1</xsl:variable>
|   <xsl:document href="file{$var1}.xml">
|     <!-- document contents here -->
|   </xsl:document>
| thanks,
| Bob DuCharme          www.snee.com/bob           <bob@  
| snee.com>  "The elements be kind to thee, and make thy
| spirits all of comfort!" Anthony and Cleopatra, III ii
Received on Tuesday, 26 December 2000 16:38:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC