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