RE: Q: Relative paths in xsl:import Was: [xsl] Parameter in "xsl:include"

Subject: RE: Q: Relative paths in xsl:import Was: [xsl] Parameter in "xsl:include"
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 3 Apr 2001 11:31:03 +0100
> I was appalled to find that XT returns a fully-qualfied absolute URL
> for the unparsed-entity-uri function, so my entity declaration for
> SYSTEM "foo.gif" comes back as
> file://u/usr/peter/foo/bar/blort/foo.gif
> instead of just foo.gif, which plays merry hell with a subsequent
> process
> reading the output of a text transform where it's expecting a
> filename!

This is defined in the spec.

> (does Saxon do this?)

Yes. (In general: there have been some problems in the past with XML parsers
that don't implement SAX2 properly)

Mike Kay



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread