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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4