This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Can I access the children by their Index?
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Can I access the children by their Index?
- From: "Patrick, Curtis W" <curtis dot patrick at eds dot com>
- Date: Tue, 27 Feb 2001 09:15:37 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
<xsl:apply-templates
select="ANNUALSNAPSHOT[1]/CONSENSUSVALUE/ESTIMATEDATA/CHILD[(position()>0)
and (position() < 10)]" mode="foo"/>
<xsl:template match="CHILD" mode ="foo">
<!-- Do what you like -->
</xsl:template>
-----Original Message-----
From: Daniel Newman [mailto:daniel.newman@bis-web.net]
Sent: Tuesday, February 27, 2001 8:47 AM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] Can I access the children by their Index?
Hi again,
What I want to do is set up a loop (from 1 to 9), and then be able to access
parts of nodes that correspond to this loop.
So, I want to do a ANNUALSNAPSHOT[1]/CONSENSUSVALUE/ESTIMATEDATA/CHILD[1-9]
Any ideas?
Daniel.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list