ok, i had started with...
<cfset resultXML = XMLParse(cfhttp.fileContent)>
<cfoutput>
<cfloop array="#xmlsearch(resultXML, '/Response')#" index="Request.idx">
<cfset result = xmlparse(Request.idx)>
<!--- Output the data. --->
<div>#result.response.XmlAttributes.valid#</div>
<div>#result.response.AmountSettlement#</div>
<div>#result.response.merchantReference#</div>
....
</cfloop>
</cfoutput>
what this outputs however is as follows...
<div>1</div>
<div><?xml version="1.0" encoding="UTF-8"?>
<AmountSettlement>89.95</AmountSettlement></div>
<div><?xml version="1.0" encoding="UTF-8"?>
<MerchantReference>P20081013-14</MerchantReference></div>
so i have successfully isolated the attribute, but the children are being
output with parts of their raw xml?
mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313800
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4