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
|
> 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)
|
|