The XML namespace is a
reserved XML attribute
that you place in an XML tag. The reserved
attribute is actually a prefix that
you attach to any namespace . This
attribute prefix is "xmlns:", which
stands for XML NameSpace. The colon is used to
separate the prefix from your namespace that you
are creating. Every XML attribute
must be set equal to something. xmlns
must have a unique value which is not present in another namespace of whole document.
What is the more commonly used URL.
We will be using the W3C's XHTML
URL and a made up URI(Uniform Resource
Identifier) for our second body
element for rectify the overlap in our health
XML document. Both the namespace attribute and its
use in our document has been highlighted in blue.
|