sDataType Property

Class

XmlNode.

Description

Data type for the element.

Availability

This functionality is supported only if you are using the Classic Agent.

Data Type

STRING.

Access

Read only.

Notes

This value depends on the Type property of the element. See the following table for details.

Type DataType
Attribute Contains the string representation of the data type specifier included in the schema, or NULL if no data type was specified.
Cdatasection, Comment, Document, Documenttype, Documentfragment, Entity, Notation, Processinginstruction, Text Contains the constant string value "string". These node types do not have data types, so the dataType property cannot be set for these node types. Attempts to set the data type property are ignored
Element Contains the string representation of the data type specifier included on the instance of the element or in the schema, or NULL if no data type was specified.
Entityreference Contains the string representation of the data type specifier for the referenced entity. This is limited to entities with a single data type on the root level element of the subtree corresponding to the entity. Contains NULL if no data type was specified. It is not possible to set the data type of an entity reference. The data type must be set directly on the referenced element. Attempts to set the value of the dataType property are ignored.