Each XML node has a namespace identifier which is a string indicating
in which DTD (Document Type Definition) the definition of that element
can be found. This avoids the problem of having different document
definitions using the same names for XML elements that have different
meaning.
To resolve the name space,
i.e. find out to where the identifier points,
one can use the
expression
xmlNamespace(xmlRoot(doc)).
USAGE:
xmlNamespace(x)
ARGUMENTS:
x
the object whose namespace is to be computed
VALUE:
For non-root nodes, this returns a string giving the identifier
of the name space for this node.
For the root node,
this returns a list with 3 elements:
id
the identifier by which other nodes refer to this
namespace.