Stupid flipping typos...  Thanks Dave.

On Mon, May 19, 2008 at 12:55 PM, Dave Watts <[EMAIL PROTECTED]> wrote:

> > Anyone tell me what I'm doing wrong here?  XML and Arrays are
> > not my strong points.
> >
> >         <cfif structKeyExists(ledata.callmeasurement.resultscall,
> > "numbers")>
> >             <cfif
> > structKeyExists(ledata.callmeasurement.resultscall.numbers, "dnis")>
> >                 <cfset dnis_array = ArrayNew(1) />
> >                 <cfloop from="1"
> > to="#arrayLen(ledata.callmeasurement.resultscall.numbers.XMLCh
> > ildren)#"
> > index="i">
> >                     <cfset dnis_array[i] =
> > ledata.callmesurement.resultscall.numbers.dnis[i].XMLText />
>            ^^^^^^^^^^^^^^
>
> Shouldn't that be "callmeasurement"?
>
> Also, instead of referencing ledata..numbers.XMLChildren, you might as well
> just reference ledata..numbers.dnis directly.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
> http://training.figleaf.com/
>
> WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
> http://www.webmaniacsconference.com/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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