Hi, I'm learning xml to use it within a cart application and have come unstuck.
The xml file I've created looks fine. I can read it and get a count of stock items. But all of the contents I return look like [EMAIL PROTECTED] Can anyone see where I'm going wrong please? Thanks, Jenny <cfscript>URLToPull = "#application.siteurl#stock/stock.xml";</cfscript> <cfhttp url="#URLToPull#" method="GET" timeout="15"></cfhttp> <cfscript> XMLContent = trim(cfhttp.filecontent); XMLContent = XMLParse(XMLContent); </cfscript> <cfset showitems = #ArrayLen(XMLContent.shop.stock.item)#> <cfoutput>#showitems#<br> #xmlcontent.shop.shopname#<br><br> <cfloop from="1" to="#showitems#" index="i"> #xmlcontent.shop.stock.item[i].stockcode#<br> </cfloop> </cfoutput> <cfdump var="#xmlcontent#"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227237 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

