This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Retrieving XML document's name
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Retrieving XML document's name
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 3 Jul 2001 09:35:50 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> If this was the XSLT designer's thinking on this, surely it's
> mistaken.
> Even if it's *not* a file, you have to have given a URI to
> the resource,
> so you should be able to retrieve that.
I'm guessing, but I suspect the reason there is no built-in XPath function
to retrieve the base URI of a node is that at the time the spec came out,
there was still a great deal of debate going on within W3C about the precise
definition of base URI within the InfoSet, so the XSLT/XPath authors decided
it was best to steer clear of the rocks.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list