Essential XML for Web Professionals by Dan Livingston Essential XML for Web Professionals by Dan Livingston
Chapter Navigation Map

Chapter 4
Defining XML: XML Schema

Examples

Introduction to Namespaces

Namespaces are a way to associate a group of elements with each other. They're confusing at first, but don't worry. When you stare at them long enough, they actually start to make sense. XML Schemas always use namespaces.

Introduction to XML Schema

XML Schema offers another way to define the structure of XML documents. It's a more complicated, verbose and exacting way to define XML, but it's gaining popularity because of the greater control over XML it gives you.

Simple Types

Simple-type elements are essentially those elements that are just strings, numbers, times, Boolean, or URIs. Simple-type elements have no attributes and don't contain any other elements. You can also create your own custom simple type, using an existing simple type as a base.


Prentice Hall PTR home | Essential Series home
© 2002 Prentice Hall PTR
13 12 11 10 9 8 7 6 5 4 3 2 1