Skip to Content
Special Edition Using XML, Second Edition
book

Special Edition Using XML, Second Edition

by - et al. David Gulbransen
July 2002
Intermediate to advanced
864 pages
22h 32m
English
Que
Content preview from Special Edition Using XML, Second Edition

Datatypes in XML Schemas

One of the most promising new features of XML Schemas is the ability to specify datatypes for your elements and attributes. Datatypes are commonly used in programming languages and in databases to enforce data integrity by requiring the data stored to be of a certain type—for example, by forcing number to be only integers, or to have only two decimal places. XML Schemas introduce datatypes into XML with the second part of the XML Schema Recommendation: Datatypes.

What Is a Datatype?

There are really two broad divisions among the users of XML. First, there is the document camp. Those users are using XML to create structured documents in a format, which we all think of as a “document”—that is, large blocks of text, such ...

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.
Start your free trial

You might also like

XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald
Essential XML: Beyond Markup

Essential XML: Beyond Markup

Don Box, Aaron Skonnard, John Lam

Publisher Resources

ISBN: 078972748XPurchase book