xsl-list
[Top] [All Lists]

[xsl] The document() function and Base URIs

2006-04-25 08:48:41
Hi, list.

I have a stylesheet that is loaded into Xalan using an http:// URL,
which happens to point to a Java servlet. The stylesheet contains an
import instruction:

<xsl:import href="genhtml.xsl"/>

Xalan is attempting to retrieve the imported stylesheet from the
filesystem, and failing - it seems to be using the docBase of the
servlet context, which I suppose is equivalent to using an empty Base URI.

So how does a stylesheet come to know what its URI is? How do you 'tell'
a stylesheet where it came from?

Thanks,
Jack.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>