This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Using xml:base in an xsl:stylesheet declaration - how about it?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Using xml:base in an xsl:stylesheet declaration - how about it?
- From: "Dawson, Geoff F" <Geoff dot Dawson at capgemini dot co dot uk>
- Date: Tue, 28 Mar 2000 13:17:28 +0100
- Reply-To: xsl-list at mulberrytech dot com
> From: Dan Morrison [mailto:dman@es.co.nz]
>
> However, the use of xsl:include & xsl:import rely explicitly on there
> being a 'Base URI' available to work from.
>
> Now in my case I'm either parsing & caching my xsl long before the
> transform, or in some cases generating it from scratch. I still want to
> use xsl:include, but my xsl tree has no Base URI. >
If you are parsing/caching/generating the xsl then you will presumably be
setting the base URI programatically. In which case, rather than injecting
the xml:base into the xsl, why not just set the SystemId on the
XSLTInputSource?
Geoff
________________________________
Geoff Dawson
geoff.dawson@capgemini.co.uk
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list