Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML file transfer question
Message
From
25/08/2003 05:21:29
 
 
To
25/08/2003 01:24:07
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00822973
Message ID:
00822986
Views:
15
To preserve contents of memo fields in .XML file you should issue:
CURSORTOXML('m_xml', 'c:\yourpath\example.xml' ,1,512,0,"1")
and when you want to put into cursor the contents of .XML file you should issue:
XMLTOCURSOR('c:\yourpath\example.xml', 'm_xml', 512)
>Hi Everybody
>
>I want to transfter several JPG via XML by following logic:
>
>load the jpg file to a binary string :
>m_jpg = createbinary(filetostr(jpg_file.jpg))
>
>append to cursor by :
>create cursor m_xml (file m)
>insert into cursor m_xml (file) value (m_jpg)
>....
>
>my question is how to set the parameter of cursortoxml() to keep binary format in memo
>then restoed at the other end by xmltocursor() ?
>
>Thanks for any comment in advance
>
>Arnold
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform