[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: returning the n:th first elements
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|