TXTextControl.XMLEditMode Property

Specifies whether Text Control operates in an edit mode that validates the XML document according to the document's DTD.

Syntax

TXTextControl.XMLEditMode [= value]
Setting Description
1 - Validation Every operation that manipulates an XML document is validated according to the document's DTD. This mode is read only and is automatically switched on after loading a valid XML document.
2 - No Validation Text Control operates in its normal editor mode. No validation of an XML document occurs. Because the document can be invalid after every operation the document cannot be saved in XML format.

Data Types

Integer.

Limitations

Run time only.

See Also