[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: JAR protocol for URL in xsl:import

Subject: Re: JAR protocol for URL in xsl:import
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Mon, 13 Jan 2003 23:17:27 +0100
xsl.jar
Gregory Murphy wrote:
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?

There is a jar: URL schema which is recognized by Suns implementation of java.net.URL, therefore Java based XSLT processors running on SUN JVM should be able to grok something like <xsl:include href="jar:file:///foo/bar.jar!/com/sample/baz.xsl"/> or even <xsl:include href="jar:http://jar.sample.com/foo/bar.jar!/com/sample/baz.xsl"/> I havn't triefd myself, but look at http://javaalmanac.com/egs/java.net/JarUrl.html?l=rel

J.Pietschmann


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.