fuseobjects... hah, i mean siteobjects

-----Original Message-----
From: Gavin Myers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 9:29 AM
To: CF-Talk
Subject: NASDAQ.com... ERRRRR!


okay, i'm pulling xml info off of nasdaq.com. You can find the xml stuff
they have at:
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR

every %&*@ minute they change the way they handle best-bid-price, and
best-ask-price
they do this:

from 
<best-bid-price>
to
<best-bid-price variable = "variable">


so, needless to say, this throws an error every time they change it around.

I was thinking of doing a cftry, but I was unsure on how to do this, is this
correct?

<cf_xmlparse type="file"
xmldoc="http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ALLR"
r_struct="sALLR">
<!--- this is a great tag from fuseobjects btw! --->

<cftry>
<cfcatch>#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"][1
].value#</cfcatch>
</cftry>
<cftry>
<cfcatch>#sALLR["NASDAQAMEX-DOT-COM"][2]["EQUITY-QUOTE"]["best-bid-price"].v
alue#</cfcatch>
</cftry>

when i do that, it just doesnt show up with a bid price at all...

any suggestions?
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to