The XMLAdapter will not create XmlTables if there's no XML Schema provided. You can check adapter.Tables.Count.
>I've tried XMLAdapter and it gives me some error also.
>
>xFile = "MyXML.xml"
>adapter = CREATEOBJECT("XMLAdapter")
>adapter.LoadXML(xFile,.t.)
>adapter.Tables(1).ToCursor()
>
>Give me "Index or expression does not match as existing member of the collection".
>
--sb--