Difficulty parsing out xml in coldfusion

OmiriumTrerne

New Member
I have been trying to figure out the best way to extract data from an xml file using Coldfusion. The xml file is relatively simple, but figure out this problem.The XML data looks like this:\[code\]<recordname><biols>Perennial </biols><biomd>common </biomd><catcn>Tibetan Flora Images</catcn><catot>Photo</catot><darfm>Araliaceae</darfm><dargn>Aralia</dargn><darsn>Aralia apioides</darsn><comnm>qing ye long yan du he</comnm><mulmm0><mulmm><irn>10221626</irn></mulmm><mulmm><irn>10221629</irn></mulmm><mulmm><irn>10221631</irn></mulmm><mulmm><irn>10221633</irn></mulmm><mulmm><irn>10221636</irn></mulmm></mulmm0></record>\[/code\]I'd like to return each mulmm irn as a record with the associated parent information included in that record, such that I'd have 5 records with the irn and in each record would be the recordname information. What is the best way to proceed?I apologize for the simple question - for some reason this is stumping me. Thanks for your help!
 
Back
Top