13.13.1 XML Namespaces
This module has support for XML namespaces as defined in the XML Namespaces proposed recommendation.
Tag and attribute names that are defined in an XML namespace are
handled as if the name of the tag or element consisted of the
namespace (the URL that defines the namespace) followed by a
space and the name of the tag or attribute. For instance, the tag
<html xmlns='http://www.w3.org/TR/REC-html40'>
is treated as if
the tag name was 'http://www.w3.org/TR/REC-html40 html'
, and
the tag <html:a href='http://frob.com'>
inside the above
mentioned element is treated as if the tag name were
'http://www.w3.org/TR/REC-html40 a'
and the attribute name as
if it were 'http://www.w3.org/TR/REC-html40 href'
.
An older draft of the XML Namespaces proposal is also recognized, but triggers a warning.
See Also:
- This World Wide Web Consortium recommendation describes the proper syntax and processing requirements for namespaces in XML.
See About this document... for information on suggesting changes.