[Bug 24551] Enhancement: a function for getting the base output uri

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24551

--- Comment #5 from Michael Kay <mike@saxonica.com> ---
I think the typical use case for priming a stylesheet once and then invoking it
repeatedly is to apply the same processing to a set of input documents, to
produce a set of output documents. In thie case the base output URI will be
different for each invocation; and the base output URI has no meaning while
evaluating global variables.

Another approach might be to provide current-output-uri() as the destination of
the output currently being written, or null (empty) when in temporary output
state (which is always the case when evaluating global variables. This would be
an extension to the XSLT part of the dynamic context, so the function would be
context-dependent.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 23 April 2014 22:47:29 UTC