You might find the PDF available here as a nice primer on XML in CF. http://www.macromedia.com/devnet/mx/coldfusion/xml_xslt.html
Ade -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 25 February 2005 22:20 To: CF-Talk Subject: RE: looping over xml attributes > How do I reference the 2nd, 3rd, or nth index? They're all > named "index" so Document.indexes["index"] always returns the > first. Multiple child elements of a single parent, with the same name, will be exposed as an array within CF if I recall correctly. yourxmldocvar.Document.Indexes.Index[1] would point to <Index name="BATCHNAME">1</Index> Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196628 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

