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>
</xsl:apply-templates>
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:
<DIV>
<P>
<FIELD>
and <DIV> sets label to true and <FIELD> is accessing the param.
What happens if I later add a match for <P>?
Jon Smirl
jonsmirl@xxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|