Primitive Data Type in XML Schemas

Introduction

Primitive data type are the fundamental data types of XSD. These data types are the basis for defining other data types in XSD. Primitive data types dot not contain elements or attributes. They contain only values.

Some of the primitive data types supported by XSD are listed in the following table.

Primitive Data Type
Description
String
Represents a collection of characters.
Decimal
Represents decimal numbers. This can be used to accurately define a value.
Float
Represents single-precision 32-bit floating-point numbers
Boolean
Represents Boolean values. This data type can have a value of true or false
timeDruration
Represents certain duration of time.
RecurringDuration
Represents a time duration that recurs after a specific interval.
Primitive Data Type in XML Schemas Primitive Data Type in XML Schemas Reviewed by Jacob Lefore on November 03, 2013 Rating: 5

No comments