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: Johannes Döbler <jd at aztecrider dot com>
- Date: Tue, 03 Jul 2001 15:38:52 +0200
- References: <006901c10338$371d6610$86230240@siliconage.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Besides using an extension function you still can pass the document uri as
a top-level parameter to the stylesheet.
Johannes
At 15:45 02.07.2001 -0600, you wrote:
>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? For example, if I have MyData.xml and am using
>MyStylesheet.xsl to transform it, how can I retrieve 'MyData.xml' from
>within the XSL code? I was looking at the document() and name() functions
>(along with others), but I just can't put it together correctly... easy
>enough, right?
>
>thanks...
>
>-putman
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list