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

RE: [xsl] test for even or odd


Subject: RE: [xsl] test for even or odd
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 21 Jan 2005 23:07:25 -0000

> How can I test if the number is even or odd? 

<xsl:if test="$number mod 2 = 0">

Michael Kay
http://www.saxonica.com/


Current Thread