Email Aaron Blake now at
or contact me

Check odd or even number in XSLT

How to find out if a number is odd or even in XSLT:

position() mod 2

Example usage:

                                    Odd number
                                    Even number

Post a Comment

You must be logged in to post a comment.

Email me through this magic form.