RE: [xsl] Output XML doc with XSL doc name in comment

Subject: RE: [xsl] Output XML doc with XSL doc name in comment
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 9 May 2002 12:58:38 +0100
> Every Xpath node does however have a base URI associated, but
> XSLT gives
> no standard access to that information. saxon has a saxon:systemId
> extension to get at it though....
>
Yes. You would have to do saxon:systemId(document('')) to get the base URI
of the stylesheet. An expensive operation; and it would only work if the
system ID is known, which wouldn't be true e.g. if it was supplied as a
DOMSource.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


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


Current Thread