|
Hey guys... not sure if I can send files to the list but
here goes. I am having trouble outputting the contents of the xml file.
All I want to do is loop through each benefit and display its name. For some reason
I cannot get this to work. So after spending all day on it I figure I would ask
the supper brains on this list for a little assistance. Loop below to see the
code I'm using... <cfhttp method="GET" URL=""
class=SpellE>www.maysite.com/myxlmdoc.xml" > <cfset XMLList = XMLParse(CFHTTP.FileContent)> <cfset xmlRoot = XMLList.Xmlroot> <cfset myBenefitList = XMLSearch(XMLList, "/benefitDocument")>
<!---cfdump var="#XMLList#"---> <cfoutput> <cfloop
from="1" to="#arrayLen(myBenefitList)#"
index="i"> #myBenefitList[i].Name.xmltext# </cfloop>
</cfoutput> Thank, - Neal |
DeliverContentList.xml
Description: Binary data
