[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-apache-general
Subject: Re: Colored table :)
From: David_N_Bertoni () lotus ! com
Date: 2000-03-28 15:59:41
[Download RAW message or body]
Hi Sean,
The mod operator is definitely part of the XPath standard.
Dave
\
"Sean Kelly" \
<kelly@mail2a.jpl To: <general@xml.apache.org> \
.nasa.gov> cc: (bcc: David N Bertoni/CAM/Lotus) \
Subject: Re: Colored table :) \
03/28/2000 09:46 \
AM \
Please respond to \
general \
\
\
> <xsl:template match="blk_item[position() div 2 != floor(position() div
2)]">
Nice trick. On Xalan 1.0.0, the following also works:
<xsl:template match="blk_item[position() mod 2 = 0]">
Whether "mod" is a Xalan extension or a legal XPath expression ... I don't
know.
Take care.
--Sean
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic