diff options
author | Fred Drake <fdrake@acm.org> | 2001-11-30 15:37:33 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-11-30 15:37:33 (GMT) |
commit | bd34b6bc3d18f968a985d745416aa0e54bdfce0c (patch) | |
tree | a5e174f12c0cdc01d16fcef0a8570c80fb317749 /Lib/xml/dom/__init__.py | |
parent | b3be216b41a4755556a887baa6ab440279fbe1dc (diff) | |
download | cpython-bd34b6bc3d18f968a985d745416aa0e54bdfce0c.zip cpython-bd34b6bc3d18f968a985d745416aa0e54bdfce0c.tar.gz cpython-bd34b6bc3d18f968a985d745416aa0e54bdfce0c.tar.bz2 |
Added the convenience constants that are present in PyXML to make these
more similar.
Diffstat (limited to 'Lib/xml/dom/__init__.py')
-rw-r--r-- | Lib/xml/dom/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/xml/dom/__init__.py b/Lib/xml/dom/__init__.py index aa19ca1..dab06ac 100644 --- a/Lib/xml/dom/__init__.py +++ b/Lib/xml/dom/__init__.py @@ -116,4 +116,10 @@ class NamespaceErr(DOMException): class InvalidAccessErr(DOMException): code = INVALID_ACCESS_ERR + +XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace" +XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/" +XHTML_NAMESPACE = "http://www.w3.org/1999/xhtml" +EMPTY_NAMESPACE = None + from domreg import getDOMImplementation,registerDOMImplementation |