[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: First item of a for-each

Subject: Re: First item of a for-each
From: "Andrew Curry" <andrew.curry@xxxxxxxxxxxx>
Date: Mon, 16 Feb 2004 15:25:15 -0000
xsl first item
<xsl:if test="position()=1">
.....
</xsl:if>
would do it i think.
----- Original Message ----- 
From: "Patricia Murray" <Patricia.Murray@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, February 16, 2004 3:08 PM
Subject:  First item of a for-each


> When using a ..
> 
> <xsl:for-each select="item[***]">
> 
> </xsl:for-each>
> 
> How can I work out when Im in the first loop. My node set has a
> predicate on it so I don't know where I am in the sequence but want to
> do something special in the first loop??
> 
> Help!
> 
> 
> Yours, Trish 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.