[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] less than zero


Subject: Re: [xsl] less than zero
From: "sascha" <sascha@xxxxxxxxxx>
Date: Wed, 31 Jul 2002 13:12:36 +0200

i see, thank you!

Sascha

----- Original Message -----
From: "Joerg Heinicke" <joerg.heinicke@xxxxxx>


> <xsl:variable name="correct-leftmargin">
>    <xsl:choose>
>      <xsl:when test="number($leftmargin) &lt; 0">0</xsl:when>
>      <xsl:otherwise><xsl:value-of select="$leftmargin"/></xsl:otherwise>
>    </xsl:choose>
> </xsl:variable>
>
> Furthermore you can not reassign a value to a variable. Therefore I
changed
> the name of the second one.


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



Current Thread