[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting the current document from an xsl:function
I knew I was forgetting the obvious! I used it so often in the passed but today I just couldn't see it... Thanks Andrew for clearing my head! Abel On 28-6-2012 11:26, Andrew Welch wrote: > 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)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|