[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] JAR protocol for URL in xsl:import


Subject: [xsl] JAR protocol for URL in xsl:import
From: Gregory Murphy <Gregory.Murphy@xxxxxxxxxxx>
Date: Mon, 13 Jan 2003 13:37:12 -0800 (PST)

If I am using a Java XSL transformer, and am running the transformation
from a JAR, is there any way to construct URLs in <xsl:import> and
<xsl:include> such that the external stylesheet will be picked up?

Ideally, if one's JAR contained:

   ....
   foo/bar.xsl
   ....

Then one could author something like

   <xsl:import "JAR:foo/bar.xsl"/>

And it would work. I can't recall if there is a protocol for JAR
references, but I suspect there isn't.

// Gregory Murphy <Gregory.Murphy@xxxxxxx>
// Software Engineer
// Customer Network Platform, Sun Microsystems


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xsl