@@ -112,6 +112,40 @@ \subsection{Module Contents}
112112(feature, version) pairs which are passed to hasFeature.
113113\end {funcdesc }
114114
115+
116+ Some convenience constants are also provided:
117+
118+ \begin {datadesc }{EMPTY_NAMESPACE}
119+ The value used to indicate that no namespace is associated with a
120+ node in the DOM. This is typically found as the
121+ \member {namespaceURI} of a node, or used as the \var {namespaceURI}
122+ parameter to a namespaces-specific method.
123+ \versionadded {2.2}
124+ \end {datadesc }
125+
126+ \begin {datadesc }{XML_NAMESPACE}
127+ The namespace URI associated with the reserved prefix \code {xml}, as
128+ defined by
129+ \citetitle [http://www.w3.org/TR/REC-xml-names/]{Namespaces in XML }
130+ (section~4).
131+ \versionadded {2.2}
132+ \end {datadesc }
133+
134+ \begin {datadesc }{XMLNS_NAMESPACE}
135+ The namespace URI for namespace declarations, as defined by
136+ \citetitle [http://www.w3.org/TR/DOM-Level-2-Core/core.html]{Document
137+ Object Model (DOM ) Level 2 Core Specification } (section~1.1.8).
138+ \versionadded {2.2}
139+ \end {datadesc }
140+
141+ \begin {datadesc }{XHTML_NAMESPACE}
142+ The URI of the XHTML namespace as defined by
143+ \citetitle [http://www.w3.org/TR/xhtml1/]{XHTML 1.0: The Extensible
144+ HyperText Markup Language } (section~3.1.1).
145+ \versionadded {2.2}
146+ \end {datadesc }
147+
148+
115149% Should the Node documentation go here?
116150
117151In addition, \module {xml.dom} contains a base \class {Node} class and
@@ -124,6 +158,7 @@ \subsection{Module Contents}
124158rather than at the module level to conform with the DOM
125159specifications.
126160
161+
127162\subsection {Objects in the DOM \label {dom-objects } }
128163
129164The definitive documentation for the DOM is the DOM specification from
0 commit comments