Chapter 7 Element declarations

This chapter covers the basic building blocks of XML: elements. It explains how to use element declarations to assign names and data types to elements. It also describes element properties that can be set via element declarations, such as default and fixed values, nillability, and qualified vs. unqualified name forms.

7.1 Global and local element declarations

Element declarations are used to assign element-type names and data types to elements. In XSDL, this is accomplished using an element element. Element declarations may be either global or local.

7.1.1 Global element declarations

Global element declarations appear at the top level of the schema document, meaning that ...

Get Definitive XML Schema now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.