|
Subject: Re: [xsl] Getting the current document from an xsl:function From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Thu, 28 Jun 2012 10:26:57 +0100 |
On 28 June 2012 10:12, Abel Braaksma <abel.online@xxxxxxxxx> wrote:
> Hi Andrew,
>
> The current dir of the currently executing stylesheet. Every
> xsl:function is contained in a stylesheet and the currently executing
> main stylesheet is also known, so theoretically this "context" should
> (could) be available.
document-uri('')
...will give you the path of the stylesheet, provided the processor
knows it (if the xslt was loaded from a stream it might not)
--
Andrew Welch
http://andrewjwelch.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Getting the current docum, Abel Braaksma | Thread | Re: [xsl] Getting the current docum, Abel Braaksma |
| Re: [xsl] Getting the current docum, Abel Braaksma | Date | Re: [xsl] Getting the current docum, Abel Braaksma |
| Month |