>Hello,
>
>My visual foxpro 6.0 application will be receiving an xml file from an external application. My code in visual foxpro 6.0 calls a program developed in 9.0, and errors when the code tries to execute the XMLTOCURSOR() function. Is it possible for my foxPro 6.0 application to use the XMLTOCURSOR function that is available in FoxPro 9.0. If not, does anyone have any suggestions how my FoxPro 6.0 application can process an xml file. There is a time constraint, so upgrading to 9.0 is not feasible at this time.
>
>Any information would be greatly appreciated.
>
>Thanks,
>Brad
It is still running under VFP6 runtimes. Only if you would use it as a dll, you may use VFP9 commands.
In VFP6 you either need to use XMLDom model or do some manual parsing.
Update. Or use excellent Tore's suggestion.
If it's not broken, fix it until it is.
My Blog