Adrian/Charlie... I can define vars like this: stXMLExtras.Interim_Order_ID = xmlcontent.message.order_id.xmlText;
But when I want to assign a var a *whole section* of XML, it just hangs. <cfset stXMLExtras.PaymentMethods = xmlcontent.message.payment_methods.payment_method /> -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 12:16 PM To: CF-Talk Subject: RE: Setting variables from XML content. What's not happening? Adrian -----Original Message----- From: Che Vilnonis Sent: 16 July 2007 17:08 To: CF-Talk Subject: Setting variables from XML content. Having a bit of trouble with XML. From XML data that is returned to me, I can loop thru the data using something like this: <cfloop from="1" to="#arrayLen(xmlcontent.message.payment_methods.payment_method)#" index="x"> some code. </cfloop> But I am having trouble setting a CF variable. <cfset stXMLExtras.PaymentMethods = xmlcontent.message.payment_methods.payment_method /> What am I doing wrong? Thanks, Che ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283767 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

