WebDvlp
asked on
Loop over XML in Coldfusion
I have the following variable defined in CF:
<cfset temp="<xmlgrid><data1>aaa< /data1><da ta2>bbb</d ata2></xml grid><xmlg rid><data1 >xxx</data 1><data2>y yy</data2> </xmlgrid> ">
How can I loop over this string and show a table containing:
aaa bbb
xxx yyy
Everything I have tried failed...
<cfset temp="<xmlgrid><data1>aaa<
How can I loop over this string and show a table containing:
aaa bbb
xxx yyy
Everything I have tried failed...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
have you tried XMLParse(temp) to transform the XML into a structure?