This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Output XML doc with XSL doc name in comment
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 8 May 2002 18:01:04 +0100
- Subject: Re: [xsl] Output XML doc with XSL doc name in comment
- References: <20020508164111.24998.qmail@web10102.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> p.s. What is strange is that SAXON obviously knows the file names it
> is processing,
It isn't obvious that the XML it is processing has a name. Both the
source XML and the stylesheet might come from standard input stream, or
from a stream of sax events or....
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....
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list