Minggu, 03 November 2013

Derived Data Types in XML Schemas

Introduction

Derived data types are defined by using other data types called base types. Base data types can either be primitive or derived data types. Derived data types can be built-in or user-defined. For example, integer is a built-in data type that is derived from the decimal data type.

Derived Data Types
Base Data Type
Description
Integer
Decimal
Represents a sequence of decimal digits with an optional leading sign (+ or -)
long
Integer
Represents a value within the range -9223372036854775808 to 9223372036854775807
nonNegativeInteger
Integer
Represents an integer that is greater than or equal to zero
Positive Integer
nonNegativeInteger
Represents an integer greater than zero
int
Long
Represents an integer within the range -2147483648 to 2147483747
time
recurringDuration
Represents an instance of time that recurs every day.
date
 timeDuration
Represents a time period that starts at the midnight of a particular day and ends at the next midnight.

Tidak ada komentar:

Posting Komentar