Subject: Re: [xsl] How to define a global parameter and change its value From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Wed, 13 Feb 2002 20:21:44 +0200 |
I would like to use a value from one of my template to pass to a different template.
I tried to declare a global parameter and assign the value in the template, so I can use it in a different template.
I can assign the value for the parameter in the template, but the following template can not pick the changed value.
<xsl:template match="para"> <xsl:param name="myParam" select="0"/> ... </xsl:tempalte>
the original value that I have initialized.
"global parameter" does not really work, the local one is always "shadow" the global one.
Is there anyway that I can change the global parameter's value after it has been declared, and used in different templates?
-- Oleg Tkachenko Multiconn International, Israel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to define a global pa, Thomas B. Passin | Thread | [xsl] A position question, Haque, Suraiya |
Re: [xsl] A position question, Wendell Piez | Date | Re: [xsl] regd. Validating XML docu, Bill Han |
Month |