[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The XSL-List Digest V3 #2

Subject: Re: The XSL-List Digest V3 #2
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 3 May 2000 18:06:41 +0100 (BST)
digest v3.2
 
   I would like to put an AVT inside an xsl:include as follows:

well you can't. tough:-)

   <xsl:include href="{/DOC/AN_URL}"/>

   The href attribute is being interpreted literally with my XSL processor
   (XT).  Should it be replacing the AVT value?  The spec says the href must be
   a uri-reference but I cannot find where a 'uri-reference' is defined or a
   statement in the spec saying a 'uri-reference' can or cannot have AVTs.

The spec always says explictly, for each attribute, whether or not the
attribute takes an AVT, and this one doesn't (if it did, the effective
stylesheet would depend the data, which generally isn't supported in
xsl)

a URI reference is the bizarre terminology that means a string
that consists of a URI + # + a local fragment identifier.
So in particular it does not mean a reference to a URI which is what you
might expect it to mean.

the term comes from the RFC that defines URIs, referenced in xslt spec
as

RFC2396 
        T. Berners-Lee, R. Fielding, and L. Masinter. Uniform Resource
        Identifiers (URI): Generic 
        Syntax. IETF RFC 2396. See http://www.ietf.org/rfc/rfc2396.txt. 

which says:

URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]


David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.