This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Cos I can not use variables in IE5 I must use namespaces. So How can I transform next code using namespaces?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- 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 at datadec dot es>
- Date: Tue, 13 Jun 2000 16:55:11 +0200
- Reply-To: xsl-list at mulberrytech dot com
> 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