>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")
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