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

Re: Setting Base URL For Resolivng xsl:include/xsl:imp

Subject: Re: Setting Base URL For Resolivng xsl:include/xsl:import
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2004 17:41:39 +0100
setting base uri
Hi Eliot,

> 1. Was my expectation justified or have I misunderstood how URL
> resolution works generally or in XSLT or in Saxon?

It should work in the way you expect, from what you've described.

I have sometimes encountered problems where it looks like URLs aren't
being resolved properly and it turns out the server is rewriting (or
reinterpreting) the URLs behind the scenes. I suggest testing the XSLT
on a local filesystem (i.e. without going through the server) to
confirm that the relative URLs are correct, and then looking at the
server configuration.

Another thing that might mess things up is if you're using entities or
xml:base, both of which might change the base URI of the stylesheet
and thus the base URI against which the relative URI is resolved.



Jeni Tennison

Current Thread


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.
First Name
Last Name
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.