Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: CursorToXML(..., ..., ..., 48) ignores default loca
Message
 
To
07/08/2002 07:42:52
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00686954
Message ID:
00686977
Views:
48
This message has been marked as a message which has helped to the initial question of the thread.
>But if your default locale is different than western european one, they do not. And the first one is the correct one - it is rendered in the browser with the same data as in the table.
>
>I will post this to Visual FoxPro wish list.
>
>Anyone comments about this? Also if anyone has a IVFPXML COM implementation and wants to share it, I will be thankful a lot.

Zlatin,

I'm going to realize CursorToXml and XmlToCursor functions in OLEDB library, which you can find in download section. These functions are already included into library, but they are not jet working and therefore not documented. Currently they are not derived from IVFPXML interface. The main problem for me is achieving the same speed for CursorToXml as for native VFP7 function. XmlToCursor is based on SAX2 API and seems to be more efficient than native function, but requires a further optimization. I hope to finish this work within one-two months.
I could also suggest to use ADO recordset XML persistence:
oOleDb = CreateObject("OleDbFox.Utils")    && you can use VFPCOM instead of OleDbFox
oRecordSet = CreateObject("ADODB.Recordset")
oOleDb.CursorToRs(oRecordSet)
oRecordset.Save("MyCursor.xml", 1)
oRecordSet.Close()

...
oRecordset.Open("MyCursor.xml")
oOleDb.RsToCursor(oRecordSet, 'mycursor')
oRecordSet.Close()
Alexander
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform