Hi Justin,

It is possible, indirectly, by importing your stylesheet in another
one. The following is inspired by the OXF XSLT 2 example:

<p:processor uri="oxf/processor/saxon7">
    <p:input name="data" href="..."/>
    <p:input name="config">
        <xsl:stylesheet version="2.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
            <!-- This is the stylesheet to pass parameters to -->
            <xsl:import href="tour.xsl"/>
            <!-- Here we set a parameter to pass -->
            <xsl:param name="start" select="'a1'"/>
        </xsl:stylesheet>
    </p:input>
    <p:output name="data" id="xxx"/>
</p:processor>

This is now in the FAQ:

http://www.orbeon.com/oxf/faq

-Erik

Justin Makeig wrote:

> Is it possible to pass an XSLT parameter to a stylesheet referenced in an
> XSLT processor? I don't see anything in the documentation. Thanks.
>
> - Justin Makeig
>
> --
> Center for Document Engineering
> University of California, Berkeley


_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to