>>><?xml version="1.0" encoding="utf-8" ?> >>><EmailList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xsi:noNamespaceSchemaLocation="EmailList.xsd" > >>>>>>
>>m.loXMLAdapter.XMLSchemaLocation = ""
>>
>>oXMLAdapter = NEWOBJECT('XMLAdapter') >oXMLadapter.XMLSchemaLocation = "" >oXMLadapter.LoadXML( "emaillist.xml", .T.) >oXMLadapter.Tables.Item(1).ToCursor(.F.,cCursorName) && this is the line on which error occurs. >>
oXMLadapter.LoadXML( "emaillist.xml", .T.) IF oXMLadapter.Tables.Count = 0 MESSAGEBOX("No tables were created...") ELSE oXMLadapter.Tables.Item(1).ToCursor(.F.,cCursorName) ENDIFCan you provide a sample document with no sensitive information and describe what are you looking after?