The Tables collection in an XMLAdapter object contains XMLTable objects and describes XML as Visual FoxPro cursors along with any relational information. Each XMLTable object can also contain a child XMLTable and, at most, a Fields collection containing XMLField objects.
To retrieve XML and factor the contained XML Schema into an XMLTable and its corresponding XMLField objects, use the XMLAdapterВ LoadXML or Attach methods. You can then populate a cursor with data represented by the XMLTable object using the XMLTableВ ToCursor method. You can manually add an XMLTable object to an XMLAdapterВ Tables collection, or you can use the XMLAdapterВ AddTableSchema method to perform the same task.