PrimitiveSubType property: Primitive class
Description
Use this property to return the subtype for this primitive element as an integer. Only certain primitive types have defined subtypes.
For the %Document_Integer primitive type, the values are:
| Numeric Value | Constant Value | Description |
|---|---|---|
|
— |
none |
No subtype (default). |
|
1 |
%DocumentSubType_NonNegInteger |
Non-negative integer |
For the %Document_String and %Document_Text primitive types, the values are:
| Numeric Value | Constant Value | Description |
|---|---|---|
|
— |
none |
No subtype (default). |
|
1 |
%DocumentSubType_AnyURI |
any URI XML schema data type. |
|
5 |
%DocumentSubType_gDay |
gDay XML schema data type. |
|
6 |
%DocumentSubType_gMonth |
gMonth XML schema data type. |
|
7 |
%DocumentSubType_gYear |
gYear XML schema data type. |
|
8 |
%DocumentSubType_gYearMonth |
gYearMonth XML schema data type. |
|
2 |
%DocumentSubType_NormString |
Normalized string XML schema data type. |
|
4 |
%DocumentSubType_QName |
QName XML schema data type. |
|
3 |
%DocumentSubType_Token |
Token XML schema data type. |
This property is read-only.
Related Topics