From: Bob Stayton Date: Mon, 29 Oct 2012 20:30:53 +0000 (+0000) Subject: Add command to generate docbook-no-doctype.xsl to overcome Saxon doctype bug. X-Git-Tag: release/1.79.1~6^2~293 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d8b1139d874cdbb4504e1b43bac195ae38394fa;p=docbook-dsssl Add command to generate docbook-no-doctype.xsl to overcome Saxon doctype bug. --- diff --git a/xsl/xhtml/Makefile b/xsl/xhtml/Makefile index 98cff4e3e..702390ec9 100644 --- a/xsl/xhtml/Makefile +++ b/xsl/xhtml/Makefile @@ -25,6 +25,10 @@ xsl-files: remove-old add-new fi; \ done + # Also Generate special docbook-no-doctype.xsl file + $(XSLT) ../html/docbook.xsl html2xhtml.xsl docbook-no-doctype.xsl \ + include.output.doctype=0 ; \ + profile-docbook.xsl: docbook.xsl ../profiling/xsl2profile.xsl $(XSLT) $< ../profiling/xsl2profile.xsl $@ diff --git a/xsl/xhtml/html2xhtml.xsl b/xsl/xhtml/html2xhtml.xsl index 6dd23e1ea..52ee16a58 100644 --- a/xsl/xhtml/html2xhtml.xsl +++ b/xsl/xhtml/html2xhtml.xsl @@ -11,6 +11,7 @@ encoding="ASCII" saxon:character-representation="decimal" /> + @@ -39,8 +40,10 @@ xml UTF-8 - -//W3C//DTD XHTML 1.0 Transitional//EN - http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd + + -//W3C//DTD XHTML 1.0 Transitional//EN + http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd +