Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I read this xml file?
Message
From
03/03/2015 04:24:43
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
03/03/2015 03:37:20
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01616055
Message ID:
01616130
Views:
32
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform