Skip to Content
Real World XML
book

Real World XML

by Steven Holzner
January 2003
Beginner to intermediate content levelBeginner to intermediate
1200 pages
23h 42m
English
Peachpit Press
Content preview from Real World XML

Chapter 5. Creating XML Schemas

For the past two chapters, we've been working with document type definitions (DTDs). Over time, many people have complained to the World Wide Web Consortium (W3C) about the complexity of DTDs and have asked for something simpler. The W3C listened, assigned a committee to work on the problem, and came up with a solution that is much more complex than DTDs ever were: XML schemas.

On the other hand, schemas are also far more powerful and precise than DTDs ever were. With schemas, you can specify not only the syntax of a document as you would with a DTD, but also the actual data types of each element's content, inherit syntax from other schemas, annotate schemas, use them with multiple namespaces, create simple and ...

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

Inside XML

Inside XML

Steven Holzner
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0735712867Purchase book