Thanks Sergey.
adapter.Tables.Count is 0.
Last question.
If I use CURSORTOXML() to produce my XML file, can it be parsed by anyone, including those that don't use VFP?
>The XMLAdapter will not create XmlTables if there's no XML Schema provided. You can check adapter.Tables.Count.
>
>>I've tried XMLAdapter and it gives me some error also.
>>
>>xFile = "MyXML.xml"
>>adapter = CREATEOBJECT("XMLAdapter")
>>adapter.LoadXML(xFile,.t.)
>>adapter.Tables(1).ToCursor()
>>
>>Give me "Index or expression does not match as existing member of the collection".
>>
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville
No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)