No, this forum should be find...

Hmm, first of all, it appears you are accepting an XML document, which
you are painstakingly converting to a struct (not sure how), and then
you want to turn it right back into XML again?

Are you receiving in a string variable which you run through xmlparse to
create the xml, or does it come in as the object to begin with.  (CF
stores a parsed XML document basically as an array of structs already).
BTW, using cfdump to output a parsed xml object can be a very handy way
to visualize it.

I don't understand your entire process, but I think you may be doing too
many conversion here.  You can simply use the tostring() function to
turn an xml object back into it's string representation and then feed
that directly into a cffile for writing.

If you wish to modify the xml a bit first, there are a handful of xml
functions available to you.  No conversions necessary, just modify the
xml document itself before you save it.

Check out 
http://livedocs.adobe.com/coldfusion/7/htmldocs/00000372.htm

Let me know if that helps or if you have any specific questions about
how to accomplish something.

~Brad


-----Original Message-----
From: Archie Campbell [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 27, 2007 10:07 AM
To: CF-Talk
Subject: Re: CF page calling a Webservice that returns a complex
structure

Maybe I am posting on the wrong forum.
Is that a better one to use?
Thanks
Archie

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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