Re: [xsl] dynamic stylesheet

Subject: Re: [xsl] dynamic stylesheet
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 12 May 2003 16:17:10 -0600 (MDT)
Charles Ohana wrote:
> Hello Friends,
> Is there a way to import a generated stylesheet something that would look
> like
> <xsl:import href="http://xslserver/style.jsp?page=1";  />

The URI reference in the href is just a string passed to a URI resolver (an
essential component of the XSLT processor); it makes no difference if the URI
is pointing to something that is generated at access time or that is something
more static.

The XSLT processor relies on a URI resolver to handle xsl:import and
xsl:include hrefs as well as document() calls. This resolver probably is not
the same one used by your XML parser(s) to resolve external entity references.

This resolver may or may not support certain URI schemes; you will need to
check with your processor's documentation for information on what it does
support and how to customize its behavior. Generally, http is supported, but
not necessarily in all contexts. Precisely what trouble are you having, with
which processor?

 XSL-List info and archive:

Current Thread