xsl-list
[Top] [All Lists]

Re: [xsl] Getting the current document from an xsl:function

2012-06-28 04:27:16
On 28 June 2012 10:12, Abel Braaksma <abel(_dot_)online(_at_)xs4all(_dot_)nl> 
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

--~------------------------------------------------------------------
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>
--~--