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
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
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4