[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Cos I can not use variables in IE5 I must use namespaces. So How can I transform next code using namespaces?
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 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Newbier question, Kojnok Krisztina | Thread | matching templates independent of n, Mack, Daniel |
Newbier question, John Prince | Date | Re: Newbier question, Sebastian Rahtz |
Month |