[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Can I access the children by their Index?
<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@xxxxxxxxxxx] Sent: Tuesday, February 27, 2001 8:47 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|