if you cfdump XmlDocNotAvailable, you'll get a pretty good "map" of the xPath you need.
-----Original Message----- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 2:50 PM To: CF-Talk Subject: Trying to parse though XML OK, hopefully the third time is a charm: Good afternoon all, Using CFHTTP, I get an XML structure that gets returned like this: <?xml version="1.0" ?> <interface-response> <namespin> <spincount>*3*</spincount> <TLDList /> <domains> <domain name="soulraiders " com="*n* " comscore="*835*" net="*y*" netscore="*864*" tv="*y*" tvscore="*797*" cc="*y*" ccscore="*762*" /> <domain name=" southeastmotors " com="*n*" comscore="*821*" net="*y*" netscore="*851*" tv="*y*" tvscore="*784*" cc="*y*" ccscore="* 749*" /> <domain name="soccer-recruiters " com="*y*" comscore="*837*" net="*y*" netscore="*810*" tv="*y*" tvscore="*783*" cc="* y*" ccscore="*757*" /> </domains> </namespin> <originalsld>*sorge*</originalsld> <Command>*NAMESPINNER*</Command> <Language>*eng*</Language> <ErrCount>*0*</ErrCount> <ResponseCount>*0*</ResponseCount> <MinPeriod>*1*</MinPeriod> <MaxPeriod>*10*</MaxPeriod> <Server>*RESELLER1-STG*</Server> <Site>*test*</Site> <IsLockable>*True*</IsLockable> <IsRealTimeTLD>*True*</IsRealTimeTLD> What I am trying to do is loop through the domain names, but I cannot figure out how to get to them. I can get the other information like this: <cfset xml = XMLParse(CFHTTP.FileContent)> <CFSet xmlDocNotAvailable = XMLParse(xml)> "#xmlDocNotAvailable.XmlRoot.XmlChildren[2].XmlText#" returns sorge. Any thoughts? Thanks, Bruce ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289027 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

