Added the convenience constants that are present in PyXML to make these

more similar.
This commit is contained in:
Fred Drake 2001-11-30 15:37:33 +00:00
parent b3be216b41
commit bd34b6bc3d
2 changed files with 41 additions and 0 deletions

View file

@ -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