XSDtotalDigits Property

Contains the XML Schema Definition (XSD) totalDigits value, which determines numeric precision.

Note   XSDtotalDigits is disregarded unless XMLFieldXSDtype is a nonempty value.

The following XMLAdapter methods populate the XSDtotalDigits property as appropriate:

XMLField.XSDtotalDigits

Property Values

Character data type. XSDtotalDigits specifies the XSD total number of digits.

Remarks

When generating XML using the XMLAdapterToXML method, you can set this property to specify the totalDigits restriction in the XSD schema. You might need this behavior when the totalDigits value required for the schema differs from what Visual FoxPro would otherwise calculate. Visual FoxPro does not perform validation in this situation; therefore, you need to make sure the data conforms to the restrictions imposed by totalDigits.

See Also

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

Applies To: XMLField Class