Partager via


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 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.

See Also

Reference

XMLTable Object Properties, Methods, and Events

XMLAdapter Class

Fields Collection (XMLTable)

XMLField Class

LoadXML Method

Attach Method (Visual FoxPro)

ToCursor Method

Tables Collection (XMLAdapter)

AddTableSchema Method

Other Resources

Objects, Collections, and Classes