Re: No-fail `document` Function Spec
Mike Brown <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
John L. Clark wrote:
> But the "node in the stylesheet that contains the expression that
> includes the call to the document function" could have a different base
> URI from the root node of the stylesheet (`document("")`). Perhaps a
> `res:get-calling-node` function, then? :)
Ah, yeah, I suppose you're right. I'm sure there are one or two people out
there using XIncludes and entity references to over-modularize their
stylesheets :)
I'd say we don't need the additional function if our strongest use-case for it
is just illustrative examples in the documentation of res:document().