SEESenv/scripts/rst2docbook.py
changeset 33 bc535262231d
parent 30 f66b0a5ebf40
child 36 a542eb905ced
--- a/SEESenv/scripts/rst2docbook.py	Sat Feb 27 00:10:28 2010 +0530
+++ b/SEESenv/scripts/rst2docbook.py	Sun Feb 28 16:22:19 2010 +0530
@@ -120,7 +120,7 @@
             
     xml_string=ET.tostring(chapter)
     xml_string=xml_string.replace('\\',' ')    
-    xml_string=re.sub('<document[-A-Za-z=/_" .0-9]*>' ,'',xml_string)
+    xml_string=re.sub('<document[-A-Za-z=/_" .0-9:]*>' ,'',xml_string)
     xml_string=re.sub('</document>' ,'',xml_string)
 #    xml_string=re.sub('</section></section></section>' ,'</section></section>',xml_string)    
     return xml_string