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

Re: importing stylesheets from remote host

Subject: Re: importing stylesheets from remote host
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 21 Oct 2003 00:16:23 +0200
remost host
klute wrote:
the default behaviour is to look for the imported
stylesheets on the host where the transformation
happens (in my case this would be host A). That's not
what i want since all of my stylesheets reside on the
remost host B and I am tryiong to avoid hardcoding
host B within each <xsl:import>.

I don't think this is correct, if xsl:import has a relative URI, it should be resolved against the URI of the style sheet. If this was downloaded from another machine, so will be the imported files. WIth a JAXP 1.1 compatible processor like Xalan this can be overridden with an URIResolver. The Apache XML commons http://xml.apache.org/commons (IIRC) has such a beast working with various sorts of catalogs, which can take care of DTDs also.

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.