Skip to Content
XML Pocket Reference, 3rd Edition
book

XML Pocket Reference, 3rd Edition

by Simon St. Laurent, Michael Fitzgerald
August 2005
Intermediate to advanced
175 pages
4h 48m
English
O'Reilly Media, Inc.
Content preview from XML Pocket Reference, 3rd Edition

XML Schema Attributes for Use in Instance Documents

While many developers create XML Schemas and use them to validate all documents which come through a given application, there are times when applications may prefer to work with information stored in the document instance, much as the DOCTYPE declaration of an XML document identifies the DTD against which that document should be validated and may include extra information extending that DTD. XML Schema supports both instance document information that points to external schemas for validation and two pieces that let document parts specify more precisely what their contents are.

All of these attributes are in the http://www.w3.org/2001/XMLSchema-instance namespace. There is no mechanism in XML Schema for constraining where these attributes may appear. In some sense, though they appear in a document instance that is validated with an XML Schema, these attributes are more document-specific supplements to the schema processing than they are parts of the document.

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

Special Edition Using XML, Second Edition

Special Edition Using XML, Second Edition

- et al. David Gulbransen
.NET & XML

.NET & XML

Niel M. Bornstein
Succeeding as a First-Time Parent (HBR Working Parents Series)

Succeeding as a First-Time Parent (HBR Working Parents Series)

Harvard Business Review, Daisy Dowling, Eve Rodsky, Bruce Feiler, Amy Jen Su

Publisher Resources

ISBN: 9780596100506Errata Page