O'Reilly logo

Definitive XML Schema by Priscilla Walmsley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required