Condividi tramite


XMLTable Class

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.

XMLTable

Remarks

To retrieve XML and factor the contained XML Schema into an XMLTable and its the corresponding XMLField objects, use the XMLAdapterLoadXML or Attach methods. You can then populate a cursor with data represented by the XMLTable object using the XMLTableToCursor method. You can manually add an XMLTable object to an XMLAdapterTables collection, or you can use the XMLAdapterAddTableSchema method to perform the same task.

See Also

Objects, Collections, and Classes | XMLTable Object Properties, Methods, and Events | XMLAdapter Class | Fields Collection (XMLTable) | XMLField Class | LoadXML Method | Attach Method | ToCursor Method | Tables Collection (XMLAdapter) | AddTableSchema Method