Subject: Re: [xsl] printing input XML file location/path and XSLT file location/path From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 12 Mar 2014 12:48:24 -0400 |
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.
-- Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: http://plus.google.com/+GKenHolman-Crane/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
--- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] printing input XML file l, Michael Kay | Thread | Re: [xsl] printing input XML file l, Kevin Brown |
Re: [xsl] Re: Self-Recursive Templa, Dimitre Novatchev | Date | [xsl] Duplicate Elimination, Ihe Onwuka |
Month |