I tried with the following code , but its giving Element XMLROOT.ITEM is 
undefined in XMLDOC. 
is ITEM a property/method of XMLDocument?

<cfhttp 
url="https://b2b.ratestogo.com/WS/Services/Content/Content.asmx/HotelList?AffiliateID=543444&Password=dsfsdf&CityName=Adelaide";
 method="GET"  throwOnError="Yes"/>



<cfset xmlDoc = XmlParse(CFHTTP.FileContent)>
<cfoutput>#xmlDoc#</cfoutput>



<cfset resources=xmlDoc.xmlroot.item>
<cfset numresources=ArrayLen(xmlDoc.xmlRoot.xmlChildren)-1>
<cfloop index="i" from="1" to="#numresources#">
<cfset item=resources[i]>
<cfoutput>
<strong>#item.HotelID.xmltext#</strong><br>
<strong>Hotel</strong>&nbsp;&nbsp;#item.HotelName.xmltext#<br>


<br>
</cfoutput>
</cfloop> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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

Reply via email to