This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: selecting nodes


> My XML has a structure
> <CATEGORY>
>         <DATA>
>                 ....
>         </DATA>
>         <DATA>
>                 ....
>         </DATA>
> I want to select the first 3 DATA nodes
> how do i do that?

Either use <xsl:value-of select="data[1]"/> etc., or use recursion if
you want to parameterize it.

 Steve


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]