Use the string module instead of string methods; this should still work
with Python 1.5.2 for now.
diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py
index a38db2d..2748d50 100644
--- a/Lib/xml/__init__.py
+++ b/Lib/xml/__init__.py
@@ -15,7 +15,9 @@
 
 __all__ = ["dom", "parsers", "sax"]
 
-__version__ = "$Revision$"[1:-1].split()[1]
+import string
+__version__ = string.split("$Revision$")[1]
+del string
 
 
 _MINIMUM_XMLPLUS_VERSION = (0, 6, 1)