General information
Category:
Coding, syntax & commands
Hi Craig. thanks for your reply.
I've looked at the sample for XML adapter.(In the Samples Folder)
but it does not seem to have the code to actually do an Import to a cursor
Is there anywhere around here with sample code using XMLADAPTER to import an XML file and crate a cursor
Regards,
Gerard
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only