Re: Calling document('') in a stylesheet containing xi:include

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Calling-document-in-a-stylesheet-containing-xi-include-tp1572267p1574348.html

Mats,

I am not sure about XSLT 1.0, but in general, when we call XSLT from
XPL, we use another input for this type of "lookup table": you connect
that document to an input you call "lookup-table", and then access it
from XSLT with doc('input:lookup-table').

Alex

On Sat, Feb 27, 2010 at 1:13 PM, Mats Eklund <[hidden email]> wrote:

>
> Hi,
>
> I have a version=1.0 xslt stylesheet with an xi:include:d lookup table that is used by the stylesheet via the document('') introspection technique. I load the stylesheet in my xpl with the oxf:url-generator and handle-xinclude=true. However, the document('') function returns the stylesheet document with the xi:include tag, i.e. without the included lookup table. Is there a way around this (for example resetting the base-uri somehow?)? If not, I'll have to upgrade to v2.0 or use exslt:node-set() function.
>
> /Mats
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet