As far as I can remember, no.
>Hi Tore,
>
>PMFJI. Does the cursor need to be created such that the field
order is the same as in the XML file layout?
>
>Thanks
>
>Mike
>
>
>>>Hello,
>>>I am currently doing an XMLTOCURSOR() function in my application on an XML document that has no schema, and I can't add a schema to it. The problem I am having is that there is a field in there that I want to be numeric, but the values have 0's in it, therefore VFP thinks it is Logical.
>>>
>>>Is there any way I can define a structure for the XML file in my code, since it will never change? Or can I perform an XMLTOCURSOR() to an already created cursor with defined data types? I am reading the help file but I can't come up with an answer from it.
>>>
>>>Thanks in advance!
>>>
>>>MAC
>>
>>Create a cursor with the correct structure, and use the extra switches:
>>lnXmlRecords=XMLTOCURSOR(yourFile,yourCursor,512+8192)