Re: [xsl] xslt transform sql into html tables for dhtml paging

Subject: Re: [xsl] xslt transform sql into html tables for dhtml paging
From: "Jonathan Perret" <jonathan@xxxxxxxxxxxx>
Date: Thu, 24 Jan 2002 10:01:33 +0100
> <xsl:for-each select="$sqlrecords[position() &lt;=
> $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


Current Thread