> can't cfdump COM objects ;(( Are you using CFMX or CF5? You dont need any COM objects for xml parsing in CFMX. Use cfInvoke and xmlParse..
If you are using CF5 .. objURL[i].text Are you sure.. you can't dump a "RESULT" from a COM Objects? > > > 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 > -----Original Message----- > From: Taco Fleur [mailto:[EMAIL PROTECTED] > Sent: Monday, February 24, 2003 12:33 AM > To: CF-Talk > Subject: Re: cfscript object array reference > > > can't cfdump COM objects ;(( > > ----- Original Message ----- > From: "Joe Eugene" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Tuesday, February 25, 2003 3:21 PM > Subject: RE: cfscript object array reference > > > > > objURL = objXMLDOM.getElementsByTagName("url"); > > > > What is objURL in CF.. i mean type of variable? > > You might want to dump it.. <CFDUMP var=#objURL#> > > > > if its just an array.. all you need objURL[i] .. > > > > Am not sure what your code objURL[i].text is for? > > Are u trying to parse an xmlDoc.. then its different > > objURL[i].xmlText; > > > > > > Joe Eugene > > > > > -----Original Message----- > > > From: Taco Fleur [mailto:[EMAIL PROTECTED] > > > Sent: Sunday, February 23, 2003 11:08 PM > > > To: CF-Talk > > > Subject: cfscript object array reference > > > > > > > > > objXMLHTTP = createObject("COM", "Microsoft.XMLHTTP"); > > > > > > The code below creates an array and assigns it to the variable > > > "objURL" if I am correct > > > objURL = objXMLDOM.getElementsByTagName("url"); > > > > > > However I can't seem to refence to it, neither with > > > objURL(i).text); nor with > > > objURL[i].text); > > > > > > Any ideas? > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4