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: Can I access the children by their Index?


<xsl:apply-templates
select="ANNUALSNAPSHOT[1]/CONSENSUSVALUE/ESTIMATEDATA/CHILD[(position()>0)
and (position() &lt; 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


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