RE: [xsl] Got xml base path in the xslt file

Subject: RE: [xsl] Got xml base path in the xslt file
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 Sep 2009 09:58:44 +0100
> The solution I mentioned, below would be suitable for XSLT 
> 1.0 environment.
> 
> If you are using XSLT 2.0, then the solution which Ken and 
> Mike have proposed, should be preferred.
> 

No, the second argument to document() is available in XSLT 1.0, and it is
better to use it that to attempt to resolve the relative URI using string
concatenation.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread