SEESenv/scripts/docbook2html.py
changeset 34 18b34db550ec
parent 32 de7ac08f237b
child 41 e54725be4df6
--- a/SEESenv/scripts/docbook2html.py	Sun Feb 28 16:22:19 2010 +0530
+++ b/SEESenv/scripts/docbook2html.py	Sun Feb 28 17:28:30 2010 +0530
@@ -1,11 +1,12 @@
 import glob, os, re, sys
 import subprocess
 import time
+xsl_loc='/home/hg/repos/SEES-hacks/SEESenv/scripts/'
 names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook')
 for name in names:
-#	command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0])
+#   command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0])    
     command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0])
 
-	print command	
-	subprocess.Popen(command,shell=True)
-	time.sleep(10)
+    print command	
+    subprocess.Popen(command,shell=True)
+    time.sleep(10)