RE: [xsl] The document() function and Base URIs

Subject: RE: [xsl] The document() function and Base URIs
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 25 Apr 2006 17:13:47 +0100
> So how does a stylesheet come to know what its URI is? How do 
> you 'tell'
> a stylesheet where it came from?

If the transformation is run using the JAXP API, then this information is
passed using setSystemId() on the Source object identifying the stylesheet.

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

Current Thread