XSLT 2.0: Parameterized imports?

Would it be desirable (and feasible) to include a requirement to permit 
passing global parameters to imported stylesheets? What I'm thinking is 
that xsl:import could be made (optionally) non-empty, a la:

   <xsl:import href="uri">
     <xsl:with-param name="param_name" select="somevalue"/>
   </xsl:import>

The rationale would be that a global parameter's value is normally set (or 
rather, overridden) from "outside" the stylesheet which declares it.  This 
facility would permit imported stylesheets to be treated identically if 
invoked directly from the command line, script, and so on, AND if "invoked" 
by another stylesheet.

================================================================
John E. Simpson          | "Is it weird in here, or is it just
http://www.flixml.org    | me?" -- Steven Wright
XML Q&A: www.xml.com     |

Received on Monday, 12 March 2001 07:19:23 UTC