xsl-list
[Top] [All Lists]

JAR protocol for URL in xsl:import

2003-01-13 14:37:12

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(_dot_)Murphy(_at_)sun(_dot_)com>
// Software Engineer
// Customer Network Platform, Sun Microsystems


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



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