xsl-list
[Top] [All Lists]

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

2006-01-20 09:59:18
            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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--