Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement