[Python-checkins] python/dist/src/Lib/xml/dom __init__.py,1.11,1.12

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 25 Jan 2003 09:11:09 -0800


Update of /cvsroot/python/python/dist/src/Lib/xml/dom
In directory sc8-pr-cvs1:/tmp/cvs-serv9518

Modified Files:
	__init__.py 
Log Message:
Import UserDataHandler from PyXML.


Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/dom/__init__.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** __init__.py	9 Aug 2002 14:57:55 -0000	1.11
--- __init__.py	25 Jan 2003 17:11:07 -0000	1.12
***************
*** 121,124 ****
--- 121,133 ----
      code = VALIDATION_ERR
  
+ class UserDataHandler:
+     """Class giving the operation constants for UserDataHandler.handle()."""
+ 
+     # Based on DOM Level 3 (WD 9 April 2002)
+ 
+     NODE_CLONED   = 1
+     NODE_IMPORTED = 2
+     NODE_DELETED  = 3
+     NODE_RENAMED  = 4
  
  XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"