A Schema is an abstract definition of an object's characteristics and interrelationships. This schema is represented in different ways in different environments.
NAME | DEFINITION | EXAMPLE | DERIVED |
---|---|---|---|
string | A sequence of Unicode characters. | "This is a sample string. ????' | no |
boolean | One of of either true (1), or false (0). | true | no |
float | A single precision 32-bit floating point type | -1E4, 2442, 342.34, 0, INF, NaN | no |
double | A double precision 64-bit floating point type | -1E4, 2442, 342.34, 0, INF, NaN | no |
decimal | A decimal number of arbitrary precision | 3.141582653589793238462643383279 50288419716939937510... | no |
timeDuration | A specific period of time, in the format P nY nM nD T nH nM nS. Only relevent duration need be shown. | P1Y2M13DT4H represents one year, two months, thirteen days and four hours. | no |
URI | A Universal Resource Locator | http://www.vbxml.com/cagle | no |
NAME | DEFINITION | EXAMPLE | DERIVED |
---|---|---|---|
integer | A decimal value in which the scale (the number of digits after the decimal point) is 0. | ..., -2, -1, 0, 1, 2, ... | from decimal |
nonPositiveInteger | All integers less than or equal to 0 | ..., -3, -2, -1, 0 | from decimal |
long | Value derived from integer within ±9223372036854775808 | 2214433234, 12, -32551 | from decimal |
int | Value derived from long within ±2147483648 | 32768, 12, -32551 | from long |
short | Value derived from int within ±32786 | 32765, 12, -32551 | from int |
byte | Value derived from short within ±128 | 78, 12, -114 | from short |
unsignedInt | Value derived from unsignedLong within 0 to 4294867286 | 3248321,52,-215534 | unsignedLong |
time | Time represents an instant of time that recurs every day, and is given in the format HH:MM:SS-ZZ:YY, where ZZ:YY represents the time zone offset relative to Greenwich Mean Time. | 21:15:00-08:00, which is 9:15 at night in Seattle (8 hours from Greenwich Mean Time) | from recurringDuration |
timeInstant | timeInstant combines date and time format, with the time separated from the date by a "T". | 2000-08-15T 21:15:00-08:00 is August 15, 2000 at 9:15 PM in Seattle. | from recurringDuration |
NAME | DEFINITION | EXAMPLE | DERIVED |
---|---|---|---|
ID | A unique name token that identifies a given element. | id="a1924" | no |
IDREF | A reference to an existing ID for a given element. | idref="a1924" | no |
NMTOKEN | A collection of alphanumeric characters and the underscore character, used within attributes. | the value 'red' in the attribute color="red" | no |
NMTOKENS | A list of NMTOKEN items, typically as options within a given attribute, separated by white space. | the value 'red blue green' in the attribute colors="red blue green" | from NMTOKEN |
ENTITY | A reference to a specific entity object defined within a DTD. | &myDocument; | no |
Holiday Values
No more than three poQuantities can be given
Continued ...
Note that you cannot create an attribute using a complex type, although an attribute from a simple type is quite permissible.