Subject: Re: [xsl] Obtaining the base output uri from within xsl From: Michael Kay <mike@xxxxxxxxxxxx> Date: Wed, 14 Dec 2011 12:07:34 +0000 |
Hi,There's no packaged way of doing this in the standard function library or in Saxon, but you can write an extension function easily enough. Starting from "context" as the XPathContext object, it's just
I've been looking at the xsl functions for some way of gaining the base output uri, or better still, the output document name. I can find how to get the input document, the static context, but not the output document name.
I'm using Saxon with the -o parameter, so I could add an extra parameter to my stylesheet such as "outputURI=x", but that would seem messy.
I'm sure it's really obvious, but I've not found anything yet.
Thanks in advance.
Clint.
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Obtaining the base output uri, Clint Redwood | Thread | Re: [xsl] Obtaining the base output, Andrew Welch |
[xsl] Obtaining the base output uri, Clint Redwood | Date | Re: [xsl] Obtaining the base output, Andrew Welch |
Month |