and that one variable assignment is definitely the culprit?  If you
comment out that single line, everything works?

can you do <cfdump
var="#xmlcontent.message.payment_methods.payment_method#"> ?  how big
of an array are we talkin'? :)

On 7/16/07, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> 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
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283768
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