> This works fine:
> <cfloop collection="#transDOM.selectNodes("/TrackResponse/Activity")#"
> item="i">
>
> This throws an invalid parser construct error at the second
> parentheses (yes I have tried both single and double quotes):
> for ( i in objXMLDOM.selectNodes('/TrackResponse/Activity')) {
>
> Am I wrong in assuming that cfloop-collection and cfscript
> for-in loops are the same?
You might try setting the pointer to the object above the loop...
myxmlobject = objMXLCOM.selectNodes('/TrackResponse/Activity');
for (i in myxmlobject) {
... whatever...
}
it may just be that CF doesn't like that syntax for some unspecified
reason...
Isaac Dealey
www.turnkey.to
954-776-0046
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists