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

RE: XSLT - base URL for relative file paths - from Sty

Subject: RE: XSLT - base URL for relative file paths - from Stylesheet location or XML document location?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 14 May 2003 19:10:47 +0100
xslt base
> When using different XSLT processors there seems to be at 
> least two different conventions being used for WHICH of the 
> stylesheet or the document (or maybe even the calling 
> location?) determines the base URL for relative files paths.
> 
> Is this specified unambiguously in the W3C standard (I 
> thought it was) or is it unspecified / open to different 
> interpretations by different XSLT implementers?

It is clearly defined in the spec. If the first argument of the
document() function is a string, the base URI is taken from the
stylesheet; if it is a node, then it is taken from the base URI of that
node.

Michael Kay


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


Current Thread
  • XML merge
    • Molnar Agnes - Wed, 14 May 2003 04:41:54 -0400 (EDT)
      • Mike Trotman - Wed, 14 May 2003 11:53:12 -0400 (EDT)
        • Mike Brown - Wed, 14 May 2003 13:14:12 -0400 (EDT)
        • Michael Kay - Wed, 14 May 2003 14:11:02 -0400 (EDT) <=
          • TP - Wed, 14 May 2003 14:21:17 -0400 (EDT)
          • TP - Thu, 15 May 2003 09:00:28 -0400 (EDT)
      • <Possible follow-ups>
      • Jarno . Elovirta - Wed, 14 May 2003 05:16:14 -0400 (EDT)

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.