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(_at_)gmail(_dot_)com>
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.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--