xsl-list
[Top] [All Lists]

Re: [xsl] Modify Variable value

2007-04-25 17:29:18
Hi ,
cna you give me the example how I could do that?
Regards,
Senthil

On 4/25/07, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:

> I would like to know ,is there any way,I could modify the variable
> value in my XSLT?

a variable will always have the same value within a given scope,
variables that need to be passed different values as teh scope is
re-edered are called parameters and the value is passed in using
<xsl:with-param name="x" select="2"/>
which will bind $x to teh value 2 in the templates being called.

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>