Paramters in templates

Subject: Paramters in templates
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Thu, 22 Jul 1999 12:31:45 -0400
If I set a parameter using this code:

<xsl:apply-templates select="*">
   <xsl:param name="label">true</xsl:param>

What is the scope of the parameter, is it cleared by the first match or is
it accessible by all matches until the apply-templates returns?

For example if I had:

and <DIV> sets label to true and <FIELD> is accessing the param.

What happens if I later add a match for <P>?

Jon Smirl

 XSL-List info and archive:

Current Thread