X-Git-Url: https://source.tree.se/git?p=treecutter.git;a=blobdiff_plain;f=treecutter%2Fpage.py;h=53eeb0d40baa357f18c7f76d98404b8ed1206518;hp=ae056523be9ed2b1cca774c37f8cc96c31c5d012;hb=3d0d06590cf1c55b1bb591a79202a05d2cfaee03;hpb=521ca183bb031c954d2f014f12d4f483e9d2cbbd diff --git a/treecutter/page.py b/treecutter/page.py index ae05652..53eeb0d 100644 --- a/treecutter/page.py +++ b/treecutter/page.py @@ -127,7 +127,7 @@ class Page(): tfi.write(etree.tostring(self._doc,encoding='UTF-8',pretty_print=False)) tfi.close() # cmd = ["saxon-xslt-xinclude","-o",outfile,infile,style_xslt] - cmd = ["xsltproc","--xinclude","--output",outfile,style+"docbook.xsl",infile] + cmd = ["xsltproc","--xinclude","--output",outfile,style+"docbook.xhtml5.xsl",infile] retcode = subprocess.call(cmd) if retcode: print 'Error: '+' '.join(cmd)+' Returncode ['+str(retcode)+']'