Hi All,
I have an XML file that I need to update using VFP7. I do NOT have a schema file for the XML file. When I input the XML using XMLtoCursor(), the only schema info retained is the field name. So, when I output the cursor using CursorTOXML(), VFP7 uses different schema than the original XML file.
How do I force VFP to use the same schema as the original XML file?
Is there a way to create a XML Schema from a XML file and then use it with VFP7?
Here's a sample of the Original XML file (CurList.XML):
<msExchTurfListNames>
<msExchTurfListName mail="*@spam1.com"/>
<msExchTurfListName mail="*@spam2.com"/>
</msExchTurfListNames>
If I simply do a XMLtoCursor(), and then a CursortoXML() here's what I get:
<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
<VFPData>
<curlist mail="*@spam1.com"/>
<curlist mail="*@spam2.com"/>
</VFPData>
TIA.
Best Regards,
Jim Underwood
Apollo Information Systems, Inc.
Houston, TX