Hi Fabian,
If your schema was generated by the VFP 7.0 CURSORTOXML() function, you are able to easily create cursors based on the structure of these schemas, but there are some details you have to take into consideration:
You will have to specify the namespace "
http://www.w3.org/2001/XMLSchema-instance" and the attribute "noNamespaceSchemaLocation" belonging to this namespace in the root element of the XML document. This attribute indicates where the schema file that will be used to validate the document and define the structure of the cursor is located.
Please, consider the following document
<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
<VFPData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="d:\a\Clientes.xsd">
<clientes>
<id>1</id>
<nome>Fabio</nome>
</clientes>
<clientes>
<id>2</id>
<nome>Monteiro</nome>
</clientes>
<clientes>
<id>3</id>
<nome>Vazquez</nome>
</clientes>
</VFPData>
HTH.