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

Cos I can not use variables in IE5 I must use namespaces. So

Subject: Cos I can not use variables in IE5 I must use namespaces. So How can I transform next code using namespaces?
From: RAFA HERNANDEZ <RHERNANDEZ@xxxxxxxxxx>
Date: Tue, 13 Jun 2000 16:55:11 +0200
cos variable


>   Sorry. 
>   Cos I can not use variables in IE5 I must use namespaces. So How can I
> transform next code using namespaces?
> 
> 
> **************************************************************************
> ****************************************
>  <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
>   <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
>   <xsl:template match="/">
>       <xsl:for-each select="FICHA_TEMPLIST/FICHA_TEMP"
> order-by="FT_ARTICULO">
>         <xsl:variable name="My_Variable">
>          0
>         </xsl:variable>
>             <TABLE border = "0" CELLSPACING="0" WIDTH="250" CLASS="TB">
>              <TR>
>                 <xsl:choose> 
>                    <xsl: when test "$My_Variable=0">
>                    <TD>
>                       <xsl:value-of select="FT_DESCRIPCION"/>
>                    </TD>
>                     //Now I need to assign 1 to My_Variable -> Is it
> possible ???
>                  </<xsl: when >
>   
>                  <xsl: when test "$My_Variable=1">
>                    <TD>
>                       <xsl:value-of select="FT_PRECIO"/>
>                    </TD>
>                     //Now I need to assign 0 to My_Variable -> Is it
> possible ???
>                  </<xsl: when >
>               </xsl:choose> 
>              </TR>             
>            </TABLE>
>       </xsl:for-each>
>     </xsl:template>
>   </xsl:stylesheet>
> **************************************************************************
> *********************************************
> 
> 
> Thanks in advanced
> 
> 
>  - f r a n c -
> - D e w a  M a t a -
> 


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.