|
[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
> 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








