This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Output XML doc with XSL doc name in comment


> 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@ntlworld.com
work: Michael.Kay@softwareag.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]