XML Schema Data Types
As you know, XML DTDs offer a limited number of data types and they are rather primitive. For all practical purposes, XML really only supports a string data type, which is extremely limiting if you're creating structured document schemas. The XML-Data note defines a number of rich data types that can be used to specify familiar data types, such as integers, floating point numbers, dates, and times, to name a few. As of Internet Explorer 5.0, XML Schema supports all of these data types in elements and hopefully will support them for attributes at some point in the future.
XML Schema data types are referenced from the urn:schema-microsoft-com:datatypes data types namespace. To make referencing the data types easier, you must ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access