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

Return Value

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

Applies To: XMLField Class

When generating XML using the XMLAdapter ToXML 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

Reference

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

Other Resources

Properties (Visual FoxPro)