RE: [xsl] Can I access the children by their Index?

Subject: RE: [xsl] Can I access the children by their Index?
From: "Patrick, Curtis W" <curtis.patrick@xxxxxxx>
Date: Tue, 27 Feb 2001 09:15:37 -0600
<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@xxxxxxxxxxx]
Sent: Tuesday, February 27, 2001 8:47 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread