I often see people trying to make XML processing work in one way when there are far better ways, just not well understood. I would always recommend to anyone doing XML processing in CFML that they take 30 minutes to look over what I think is a classic on this topic, by Nate Weiss, "Utilizing XML and XSLT in ColdFusion MX". It's from the CF6 timeframe, but still mostly applies now just as it did then.
Sadly, the PDF is often hard to find on the web, so I posted it on my own site. I point to it (and other useful XML resources) at a blog entry I did: http://www.carehart.org/blog/client/index.cfm/2011/5/10/where_to_learn_CFMLs _XML_capabilities /charlie From: [email protected] [mailto:[email protected]] On Behalf Of Ajas Mohammed Sent: Tuesday, September 17, 2013 1:06 PM To: [email protected] Subject: Re: [ACFUG Discuss] CF 10 webservice complex type within complex type Ok makes sense. I was checking it the wrong way, i.e. isArray(benefits[1]) which is wrong. Per your code, it should be #isArray(benefits)# Thanks a lot. <Ajas Mohammed /> ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
