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

Re: <xsl:include> using relative paths and Saxon 8

Subject: Re: <xsl:include> using relative paths and Saxon 8
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 20 Jan 2006 16:39:22 +0000
saxon xsl include
It's likely you'll need to call setSystemId() on the StreamSource, or
on the TransformerHandler (if you are using either of them).

If not, post the part of your code that loads the stylesheet.

cheers
andrew

On 1/20/06, Chris Ward <cward@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> Sorry if this is a subject that's been answered before but I've worn
> myself out searching.
>
> In brief:
>
> 1) I've just started using Saxon 8.
> 2) I'm using XSLT stylesheets by loading through a URL (i.e. not File) .
> 3) I am including another XSLT using a RELATIVE path
>         <xsl:include href="Common.xsl"/>
> 4) It goes bang - can't find the Common.xsl since it's looking the
>    the "wrong" place.
> 5) If I give the<xsl:include> and absolute URL it works.
> 6) All this was working fine before I switched to reading my XSLT via
>    a URL.
>
> I want to read the XSLT via URL because my app is invoked via Web Start
> and I want to download the stylesheets from the server.
>
> Any pointers?  I must be doing something stupid here.
>
> Thanks all
> Chris

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.