Skip to Content
Special Edition Using XML, Second Edition
book

Special Edition Using XML, Second Edition

by - et al. David Gulbransen
July 2002
Intermediate to advanced
864 pages
22h 32m
English
Que
Content preview from Special Edition Using XML, Second Edition

Integrating Namespaces in XML Documents

There are a few ways in which we can incorporate Namespaces into our XML documents. All of these methods still use the same syntax we just covered for declaring the Namespace, with some variations on where the declaration is placed, and how the prefixes are used.

A Single Default Namespace

The simplest application of Namespaces is for documents that have only one Namespace, so that a default Namespace can be declared. This is a useful technique for declaring a Namespace for XML documents that you are going to share with other users, either within your organization or in the public, so that if they use the document with other documents, you can avoid Namespace collisions. It is good XML style to include ...

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

XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald
Essential XML: Beyond Markup

Essential XML: Beyond Markup

Don Box, Aaron Skonnard, John Lam

Publisher Resources

ISBN: 078972748XPurchase book