Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pause code until operation is completed
Message
De
11/02/2002 09:22:44
 
 
À
04/02/2002 19:42:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00613179
Message ID:
00618283
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform