Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I read this xml file?
Message
De
03/03/2015 04:47:43
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
03/03/2015 04:45:11
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01616055
Message ID:
01616134
Vues:
33
>>>>>I got answer from Marco Plaza at Foxite, thank you all.
>>>>>
>>>>>He adviced me put open, close tags begin and end of file, it worked well... I'm sooo happy... :)
>>>>
>>>>That sounds good!
>>>>
>>>>So how does it look like now?
>>>
>>>I'm not sure what you're asking, if you're asking how is data;
>>>Three filled cursors. Cursors already was generating but two of them was empty, now filled with all correct data... :)
>>>
>>>If you asking how is code;
>>>
>>>lb = left bracket
>>>rb = right bracket
>>>
>>>TEXT TO cXml NOSHOW TEXTMERGE
>>>lb VFPData rb
>>>lblbFILETOSTR('test4.xml')rbrb
>>>lb/VFPDatarb
>>>ENDTEXT
>>>cxml=FILETOSTR("test2.xml")
>>>o = CREATEOBJECT('xmladapter')
>>>
>>>o.XMLSchemaLocation = 'test2.xsd'
>>>o.loadXml(cXml)
>>>
>>>FOR EACH table IN o.tables
>>> table.tocursor()
>>> BROWSE nowait
>>>ENDFOR
>>>
>>>This is an integration of an online food order service with our foodpos customers. Customer give order and it goes to restaurant. After this integration order will directly goes to our foodpos application.
>>
>>So bsically you wrapped the XML in
>><VFPData>
>>Your XML
>></VFPData>
>
>Yes, thank you this bracket trick... :)

Standard HTML. :) Note that UT's preview is buggy with this.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform