Re: [xsl] printing input XML file location/path and XSLT file location/path

Subject: Re: [xsl] printing input XML file location/path and XSLT file location/path
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 12 Mar 2014 15:20:50 +0000
There's no standard way of doing this in XSLT 1.0.

It can be done in 2.0 using the functions document-uri() and static-base-uri()
respectively.

Michael Kay
Saxonica

On 12 Mar 2014, at 15:15, ranjith kumar <ranjithproxy@xxxxxxxxx> wrote:

> Hi,
> I am running a c++ program which lanuches MSXML (as a COM object) .
> This MSXML runs the style sheet on an XML file.
> Ignore the above two lines  if you don't understand.
>
> How to write xslt code to print the path/location of the input xml file?
> How to print the path/location of the xslt file itself, inside the xslt
file?
>
> Thanks in advance.

Current Thread