|
Subject: RE: returning the n:th first elements From: Kay Michael <Michael.Kay@xxxxxxx> Date: Wed, 15 Mar 2000 11:33:02 -0000 |
> Hmm, what's the best way to make xsl return the n:th first
> elements of an order-by?
>
> For example, if I have something like:
>
> <xsl:for-each select="entry[@date $ilt$ '2000-05-04']"
> order-by="-@date">
>
> but only want to process the first ten first elements in that order?
<xsl:for-each select="....">
<xsl:if test="position() < 11">
...
But I just noticed that peculiar "$ilt$" which suggests you're not using
XSLT, so the answer is, I don't know.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| returning the n:th first elements, Mattias Konradsson | Thread | select attribute, anoop |
| newbie..., Johan Andreasson | Date | RE: MSXML Parser V3.0 released, Kay Michael |
| Month |