This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
counting and displaying with xsl?
- To: xsl-list at mulberrytech dot com
- Subject: counting and displaying with xsl?
- From: juggy at gmx dot net
- Date: Wed, 7 Jun 2000 02:06:59 +0200
- Reply-To: xsl-list at mulberrytech dot com
Hi,
Is there any way to use xsl to count the number of items in my
xml? I'd like to know this so I could arrange them according to their
number (e.g. have a line break every 5 items).
I think of something like
<xsl:if "count > 5">
ARRANGE NORMAL
<xsl:if-otherwise>
LINEBREAK
ARRANGE NORMAL
...
Juggy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list