This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xslt transform sql into html tables for dhtml paging
- From: "Jonathan Perret" <jonathan at holylabs dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 24 Jan 2002 10:01:33 +0100
- Subject: Re: [xsl] xslt transform sql into html tables for dhtml paging
- References: <5144A3121B37D411BC0100508B955A1807EC2CF0@uspalx20a.pal.sap-ag.de>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:for-each select="$sqlrecords[position() <=
> $pgTotal]">
This is an... interesting way to iterate over an integer interval,
but I can't say I'd like to see it used in anything that is to be
maintained, as it's quite obscure and really looks like a bug
the first few minutes you stare at it.
A tail-recursive loop would be only slightly more verbose,
and much more familiar.
Still, rather clever.
Cheers,
--Jonathan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list