Did u figure this out... have you tried something like.. xStruct=structNew(); xStruct=objURL;
<cfdump var="#xStruct#"> Joe Eugene > -----Original Message----- > From: Taco Fleur [mailto:[EMAIL PROTECTED] > Sent: Monday, February 24, 2003 4:05 AM > To: CF-Talk > Subject: Re: cfscript object array reference > > > Hi Joe, > > > Are you using CFMX or CF5? You dont need any COM objects > > for xml parsing in CFMX. Use cfInvoke and xmlParse.. > > Using CF5 > > > If you are using CF5 .. objURL[i].text > > Are you sure.. you can't dump a "RESULT" from a COM Objects? > > Nope, can't dump COM objects with CFDUMP in CF 5 anyway. > > I tried [] instead of () > I used the code in VB in which it is objURL(i).text but when > moving it over > to CF with cfscript it just won't work with either () or []... > kinda drives me nuts.. > > > > > > objURL = objXMLDOM.getElementsByTagName("url"); > > > > I dont think objURL is an array.. > > sounds like > > xarr=arrayNew(1); > > xarr[1]=structNew(); > > xarr[1].FirstName="Taco"; > > xarr[1].LastName="Fleur"; > > > > Then you can call something like you did xarr[1].FirstName (== "Taco") > > > > Joe Eugene > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4