Versions des environnements
Network:
Windows 2008 Server
>>>>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 (you can put any word other than VFPData), thank you this bracket trick... :)
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