XSDtype Property

Contains the XML Schema Definition (XSD) data type of the attribute or the restriction base.

The following XMLAdapter methods populate the XSDtype property as appropriate:

For example, the xsd:int or xs:int XSD Schema data types from the XML Schema are stored as "int", without its prefix, in XSDtype.

XMLField.XSDtype

Property Values

Character data type. XSDtype specifies the XSD data type of the attribute or the restriction base. If XSDtype is empty, the following XMLField properties are disregarded:

Remarks

When generating XML using the XMLAdapterToXML method, you can set this property to specify the XSD data type in the XSD schema. You might need this behavior when Visual FoxPro does not support the data type value required for the schema. Visual FoxPro does not validate data in this situation; therefore, you need to make sure the data conforms to the limits imposed of the specified XSD data type.

See Also

Properties | XMLField Object Properties, Methods, and Events | XMLAdapter Class | ToXML Method

Applies To: XMLField Class