XMLTOCURSOR doesn't work for nested (hierarchies) data. Try the XML Adapter class in VFP.
>Hi.
>Im getting the following message usinf XmlToCursor:-
>XML Parse Error - Invalid at the top level of the document Line 1, Postion 1
>
>However, if I open form within Dot Net (Using File ..Open) it opens the file fine and I can drill doen into all the records.
>
>I suspect that VFP cannot open all XML files.
>(This parcticlaur file has 3 different record types)
>Is there any utility that will copy an XML file to a cursor(s) (Preferably in VFP) or will I need to develop something in Dot Net to access the XML file ?
>
>Regards,
>Gerard
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer