When TXTextControl edits an XML document, its elements are available as XMLElement objects collected in XMLElements collections. The members below get these collections, switch the validating edit mode on and report documents that are not valid or not well-formed.
Controls and Objects
| Member | Description |
|---|
XMLElement | An XMLElement object is an OLE Automation object that represents an element in an XML document. |
XMLElements | An XMLElements collection object is an OLE Automation object whose members represent all XML elements with a certain tag name. |
Properties
| Member | Description |
|---|
TXTextControl.XMLEditMode | Specifies whether TXTextControl operates in an edit mode that validates the XML document according to the document's DTD. |
TXTextControl.XMLElements | Returns a collection of all XML elements with the same tag name. |