xsl-list
[Top] [All Lists]

[xsl] define a global variable and change it

2008-08-12 08:31:16
Hi
is it possible to define a global variable with xsl?
I am going to define such varable to be able changing
its value some where inside the stylesheet. 
Hier is asample which does not work!:
**********************************
    <html>
      <body>
<xsl:variable name="x" select="'abcd'"/>
   <p> Value of x: <xsl:value-of select="$x"/>  </p> 
<xsl:variable name="x"> succeded</xsl:variable>
   <p> Value of x: <xsl:value-of select="$x"/>  </p> 
************************
Thank you for your help
        

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.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>
--~--