xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Retrieving XML document's name


Subject: RE: [xsl] Retrieving XML document's name
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 2 Jul 2001 23:43:39 +0100

> This is probably pretty simple, but I couldn't find the answer in the
> archives or books... how can you retrieve the name of the XML
> file that you
> are transforming?

In standard XSLT you can't. Pass it in as a parameter if you need it.

With Saxon, there are two extension functions saxon:system-id() and
saxon:base-uri(). (They will give the same answer unless your document uses
xml:base).

Mike Kay
Software AG


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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor