Link to home
Start Free TrialLog in
Avatar of WebDvlp
WebDvlp

asked on

Loop over XML in Coldfusion

I have the following variable defined in CF:

<cfset temp="<xmlgrid><data1>aaa</data1><data2>bbb</data2></xmlgrid><xmlgrid><data1>xxx</data1><data2>yyy</data2></xmlgrid>">

How can I loop over this string and show a table containing:
aaa    bbb
xxx    yyy

Everything I have tried failed...
Avatar of gdemaria
gdemaria
Flag of United States of America image


 have you tried XMLParse(temp) to transform the XML into a structure?
ASKER CERTIFIED SOLUTION
Avatar of mkishline
mkishline

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial