Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VFP load this XML into a cursor?
Message
De
01/11/2005 15:05:19
 
 
À
01/11/2005 12:41:24
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01064105
Message ID:
01064161
Vues:
29
Isn't this xdr for an XML-persisted ADO recordset?

Try instantiating and ADO recordset object, and loading from file. From there you can convert to VFP cursor if need be, but you wouldn't have to. (unless you want to bind)

ex: myRs.Open("myfile.xml")

>I have an XML file with the following format:
>
>
><xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
>	xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
>	xmlns:rs='urn:schemas-microsoft-com:rowset'
>	xmlns:z='#RowsetSchema'>
><rs:data>
><z:row Field1='Field1' Field2='Field2' Field3='Field3' Field4='Field4' />
></rs:data>
></xml>
>
>
>Can VFP load this into a cursor showing one row and four fields? I've tried XMLTOCURSOR() and XMLADAPTER but neither can produce the results I need.
>
>TIA
>
>Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform