If I have an xml file like so: <Document title="New document"> <Indexes> <Index name="BATCHNAME">1</Index> <Index name="Location_City">Naples</Index> <Index name="Location_State_Abbr">FL</Index> <Index name="Meeting_Date">2/24/1995</Index> <Index name="Meeting_Type">Board of Directors</Index> <Index name="PriorCaseID">225</Index><Index name="Section"></Index> <Index name="Title">Minutes of Meeting of The Board of Governors</Index> </Indexes> <Files> <File source="\\server\export\meetings\YXLVIA0000.PDF"/> </Files> </Document>
and then I use xmlparse to transform it into a structure, I end up with a structure that contains something like this: Document -- Indexes -- -- Index -- -- -- XMLAttributes = BATCHNAME -- -- -- XMLText = 1 -- -- Index -- -- -- XMLAttributes = Location_City -- -- -- XMLText = Florida -- -- Index -- -- -- XMLAttributes = Location_State_Abbr -- -- -- XMLText = FL How do I reference the 2nd, 3rd, or nth index? They're all named "index" so Document.indexes["index"] always returns the first. Help! -- Invite 50 Friends! Who has friggin' 50 friends!? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196623 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

