This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: selecting nodes
- To: xsl-list at mulberrytech dot com
- Subject: Re: selecting nodes
- From: Steve Tinney <stinney at sas dot upenn dot edu>
- Date: Sun, 02 Apr 2000 11:35:31 -0400
- References: <NDBBINMGCKGKJDPJOIIHEEIACAAA.bsorek@surfnotes.com>
- Reply-To: xsl-list at mulberrytech dot com
> 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