Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pause code until operation is completed
Message
From
11/02/2002 09:22:44
 
 
To
04/02/2002 19:42:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613179
Message ID:
00618283
Views:
14
Erik
I tried the url listed below, got the data but now am having trouble creating a cursor from the download.

My problem is getting the xml into a cursor. I keep getting a parse error Invalid at the top level of the document - line 1 position 1 In experimenting with some samples in the VFP help I also get the error.
<?xml version="1.0"?>
<Data>
<ORDER>
 <CUSTOMER>Nancy Davolio</CUSTOMER>
  <ITEM>Mom&apos;s Boston Crab Meat</ITEM>
 <PRICE>$10.00</PRICE>
 <QUANTITY>1 Bottle</QUANTITY>
 </ORDER>
</Data>
Code used to create cursor
xlmtocursor("myfilename","nameofcursor")
I am evidently doing something wrong but have no clue what it is.
Any help would be appreciated.

Gaylen



>>Thanks Erik - I'll try that.
>>
>
>
>Try this too:
>
>http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=intc
Previous
Reply
Map
View

Click here to load this message in the networking platform