Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem reading XML file
Message
 
À
20/03/2006 17:12:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01106024
Message ID:
01106120
Vues:
27
Hi Craig. thanks for your reply.
I've looked at the sample for XML adapter.(In the Samples Folder)
but it does not seem to have the code to actually do an Import to a cursor

Is there anywhere around here with sample code using XMLADAPTER to import an XML file and crate a cursor
Regards,
Gerard




>XMLTOCURSOR doesn't work for nested (hierarchies) data. Try the XML Adapter class in VFP.
>
>>Hi.
>>Im getting the following message usinf XmlToCursor:-
>>XML Parse Error - Invalid at the top level of the document Line 1, Postion 1
>>
>>However, if I open form within Dot Net (Using File ..Open) it opens the file fine and I can drill doen into all the records.
>>
>>I suspect that VFP cannot open all XML files.
>>(This parcticlaur file has 3 different record types)
>>Is there any utility that will copy an XML file to a cursor(s) (Preferably in VFP) or will I need to develop something in Dot Net to access the XML file ?
>>
>>Regards,
>>Gerard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform