Firstly, Sandra, please subscribe to the list before you post again, otherwise I have to intervene to approve the posting, which causes delays.
 
I'm afraid I'm having trouble understanding what you want to achieve. You can't use variables or parameters in the match pattern of a template rule, but I can't tell you how to solve your problem unless you can explain more clearly what you are trying to do.
 

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

-----Original Message-----
From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net]On Behalf Of Sandra
Sent: 02 March 2002 17:44
To: saxon-help@lists.sourceforge.net
Subject: [saxon] use a param in a match

What can I use a param that recibes my StyleSheet in a <xsl:template match???
<xsl:param name="Xpath"></xsl:param>
........
<xsl:template match="$Xpath">
    <xsl:apply-templates/>
</xsl:template>
...................................
Thanks.