Chapter 11 of The XML 1.1 Bible, Namespaces
Listing 11-1: A Well-Formed XML Document That Uses HTML and Two Custom XML Applications
Listing 11-2: Placing the Person Application Elements in a Separate Namespace
Listing 11-3: Declaring a Namespace on the Root Element
Listing 11-4: Declaring All Namespaces on the Root Element
Listing 11-5: Same Document, Different Prefixes
Listing 11-6: Placing the HTML Elements in the Same Namespace
Listing 11-7: Prefixing the HTML Elements in the Same Namespace
Listing 11-8: A MathML Math Element Embedded in a Well-Formed HTML Document
Listing 11-9: A Parameterized DTD
Listing 11-10: A Document That Changes the Namespace Prefix
Listing 11-11: A Document That Removes the Namespace Prefix
Copyright 2004
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 1, 2004