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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289011
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to