I've just recently "discovered" something which I'm not certain is correct. I'm using XSLT function document() to read in a local file. WHen the filepath is relative, document() tries to resolve it as relative to the location of the .xsl file using document().
Eg. if I call the xalan command-line processor along these lines:
./xalan [options] <xmldoc> ../qwerty.xsl
a document('jessen/g7.xml') will try to access '../jessen/g7.xml' .
Is this correct/expected behaviour?
thanks,
Per Jessen, Zurich
