W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

RE: XSLT 2.0: Parameterized imports?

From: Michael Kay <mhkay@iclway.co.uk>
Date: Mon, 12 Mar 2001 13:29:28 -0000
To: "'John E. Simpson'" <simpson@polaris.net>, <xsl-editors@w3.org>
Message-ID: <000701c0aaf8$774fbe60$ce2b3c3e@oemcomputer>
> Would it be desirable (and feasible) to include a requirement
> to permit passing global parameters to imported stylesheets?
>
>    <xsl:import href="uri">
>      <xsl:with-param name="param_name" select="somevalue"/>
>    </xsl:import>
>
Would this behave any differently from overriding the parameter in the
importing stylesheet, i.e. writing

<xsl:import href="uri"/>
<xsl:variable name="param_name" select="somevalue"/>

?

Mike Kay
Software AG
Received on Monday, 12 March 2001 08:27:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT