On Wed, Jul 1, 2009 at 12:23 PM, Cameron Johnson <john...@nais.org> wrote:
> > I see. Going by the names of the nodes makes sense, and it's easier to > read/manage. In that case, I've got this: > > <cfset local.loginResponseSID = > local.requestXMLObject.methodResponse.params.param.value.struct.member.value.string.xmlText > /> > > Is that the simplest/cleanest that this is going to get? > > Much appreciated. > > Cameron > Do you always know how many children will be returned for a specific node? If not you want to check this out. It will loop over children and you can work specifically with those items. http://www.bennadel.com/blog/1039-Ask-Ben-Iterating-Over-A-ColdFusion-XML-Document.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324129 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4