|
[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
Chris Ward wrote:
2) I'm using XSLT stylesheets by loading through a URL (i.e. not File) .I had a similar problem once and implemented the URIResolver interface to set the base location for the file path and look for the file w.r.t that. All includes are then resolved relative to that. Assuming you are using the XSLT TransformerFactory class, then set the URIResolver object: TransformerFactory transformerFactory = TransformerFactoryImpl.newInstance(); XsltURIResolver uriResolver = new XsltURIResolver(context); transformerFactory.setURIResolver(uriResolver); Pramod Biligiri -- http://xprssit.com/user/pramod
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








