[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Assigning variable values

Subject: Assigning variable values
From: Georges Claessen <georgesdamata@xxxxxxxxx>
Date: Fri, 24 May 2002 11:18:35 -0700 (PDT)
assigning variable
Could somebody help me on this issue? I am having a
problem assingning values to a variable. Look 
the example:

These ones were declared globally:

<xsl:variable name="teste" select="'um'"/>
<xsl:variable name="um" select="'um'"/>
<xsl:variable name="dois" select="'dois'"/>

This code was declared inside a template:


       <xsl:when test="$teste = 'um'">
            <xsl:variable name="teste"><xsl:value-of 

            <xsl:variable name="teste" select="$um"/>


<font face="arial" size="3"><xsl:value-of

This code only returns me the value 'um'. The when
clause is working, 
but the assigning of value to the $teste variable is
no working 
inside the choose clause.

Could somebody please help me? Thank you very much!

Georges Claessen

Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.