O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

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

Namespaces and Schemas

Quite possibly, the most confusing aspect of XML Schemas and XML Schema authoring is that of Namespaces. You may recall from Chapter 5 that Namespaces were used pretty heavily in the schema examples we provided. Although implementing Namespaces themselves is trivial, keeping track of how those Namespace declarations impact your schemas and instance documents can be confusing.

Caution

Although XML Schemas make extensive use of Namespaces, this is because XML Schemas are, in fact, XML documents. Because DTDs have their own unique syntax, Namespace issues do not apply to DTDs at all because DTDs cannot make use of Namespaces.

There are three major issues that will confront most authors when dealing with Namespaces and XML ...

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