Dear Xalan users,

I was wondering if I can use  a parameter value inside the select of an
xsl:apply-templates.

What I want to do here is to give at execution time an XPATH to my
stylesheet to only process a given extract of an xml file.

I've done this test (the parameter is given to the stylesheet at execution
time) :

<!-- start of stylesheet -->
<xsl:param name="value"/>
<xsl:template match="/">
<html>
    <body>
        <xsl:apply-templates select="$value"/>
    </body>
</html>
</xsl:template>
<!-- end of the stylesheet -->

Which doesn't work ....

Any idea ????

Thanks a lot for your help.

Guy Bobenrieth






Reply via email to