[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: <xsl:include> using relative paths and Saxon 8
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 20 Jan 2006 16:59:18 +0000
>             URL url = new URL(xsltUrl);
>             URLConnection urlConn = url.openConnection();
>
>                 InputStream is = urlConn.getInputStream();
>                 Source xslSource = new StreamSource(is);

Add the line:

xslSource.setSystemId(url.getPath());

cheers
andrew

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member