gnome-doc-utils r1080 - in trunk: . xslt/docbook/common xslt/docbook/html



Author: shaunm
Date: Tue Feb 12 18:13:14 2008
New Revision: 1080
URL: http://svn.gnome.org/viewvc/gnome-doc-utils?rev=1080&view=rev

Log:
* xslt/docbook/html/db2html.xsl:
* xslt/docbook/html/db2xhtml.xsl:
- Add a DOCTYPE declaration with xsl:output

* xslt/docbook/common/db-chunk.xsl:
* xslt/docbook/common/db-label.xsl:
* xslt/docbook/common/db-xref.xsl:
* xslt/docbook/html/db2html-autotoc.xsl:
* xslt/docbook/html/db2html-bibliography.xsl:
* xslt/docbook/html/db2html-block.xsl:
* xslt/docbook/html/db2html-cmdsynopsis.xsl:
* xslt/docbook/html/db2html-division.xsl:
* xslt/docbook/html/db2html-index.xsl:
* xslt/docbook/html/db2html-refentry.xsl:
- Add set to exclude-result-prefixes


Modified:
   trunk/ChangeLog
   trunk/xslt/docbook/common/db-chunk.xsl
   trunk/xslt/docbook/common/db-label.xsl
   trunk/xslt/docbook/common/db-xref.xsl
   trunk/xslt/docbook/html/db2html-autotoc.xsl
   trunk/xslt/docbook/html/db2html-bibliography.xsl
   trunk/xslt/docbook/html/db2html-block.xsl
   trunk/xslt/docbook/html/db2html-cmdsynopsis.xsl
   trunk/xslt/docbook/html/db2html-division.xsl
   trunk/xslt/docbook/html/db2html-index.xsl
   trunk/xslt/docbook/html/db2html-refentry.xsl
   trunk/xslt/docbook/html/db2html.xsl
   trunk/xslt/docbook/html/db2xhtml.xsl

Modified: trunk/xslt/docbook/common/db-chunk.xsl
==============================================================================
--- trunk/xslt/docbook/common/db-chunk.xsl	(original)
+++ trunk/xslt/docbook/common/db-chunk.xsl	Tue Feb 12 18:13:14 2008
@@ -20,6 +20,7 @@
                 xmlns:exsl="http://exslt.org/common";
                 xmlns:set="http://exslt.org/sets";
                 extension-element-prefixes="exsl"
+                exclude-result-prefixes="set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/common/db-label.xsl
==============================================================================
--- trunk/xslt/docbook/common/db-label.xsl	(original)
+++ trunk/xslt/docbook/common/db-label.xsl	Tue Feb 12 18:13:14 2008
@@ -17,8 +17,9 @@
 -->
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
-                xmlns:set="http://exslt.org/sets";
                 xmlns:msg="http://www.gnome.org/~shaunm/gnome-doc-utils/l10n";
+                xmlns:set="http://exslt.org/sets";
+                exclude-result-prefixes="msg set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/common/db-xref.xsl
==============================================================================
--- trunk/xslt/docbook/common/db-xref.xsl	(original)
+++ trunk/xslt/docbook/common/db-xref.xsl	Tue Feb 12 18:13:14 2008
@@ -18,6 +18,7 @@
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:set="http://exslt.org/sets";
+                exclude-result-prefixes="set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html-autotoc.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-autotoc.xsl	(original)
+++ trunk/xslt/docbook/html/db2html-autotoc.xsl	Tue Feb 12 18:13:14 2008
@@ -19,6 +19,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:set="http://exslt.org/sets";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html-bibliography.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-bibliography.xsl	(original)
+++ trunk/xslt/docbook/html/db2html-bibliography.xsl	Tue Feb 12 18:13:14 2008
@@ -17,9 +17,10 @@
 -->
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
-                xmlns:set="http://exslt.org/sets";
                 xmlns:msg="http://www.gnome.org/~shaunm/gnome-doc-utils/l10n";
+                xmlns:set="http://exslt.org/sets";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="msg set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html-block.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-block.xsl	(original)
+++ trunk/xslt/docbook/html/db2html-block.xsl	Tue Feb 12 18:13:14 2008
@@ -20,7 +20,7 @@
                 xmlns:set="http://exslt.org/sets";
                 xmlns:msg="http://www.gnome.org/~shaunm/gnome-doc-utils/l10n";
                 xmlns="http://www.w3.org/1999/xhtml";
-                exclude-result-prefixes="msg"
+                exclude-result-prefixes="msg set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html-cmdsynopsis.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-cmdsynopsis.xsl	(original)
+++ trunk/xslt/docbook/html/db2html-cmdsynopsis.xsl	Tue Feb 12 18:13:14 2008
@@ -21,6 +21,7 @@
                 xmlns:set="http://exslt.org/sets";
                 xmlns:str="http://exslt.org/strings";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="set str"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html-division.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-division.xsl	(original)
+++ trunk/xslt/docbook/html/db2html-division.xsl	Tue Feb 12 18:13:14 2008
@@ -19,6 +19,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:set="http://exslt.org/sets";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html-index.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-index.xsl	(original)
+++ trunk/xslt/docbook/html/db2html-index.xsl	Tue Feb 12 18:13:14 2008
@@ -17,9 +17,10 @@
 -->
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
-                xmlns:set="http://exslt.org/sets";
                 xmlns:msg="http://www.gnome.org/~shaunm/gnome-doc-utils/l10n";
+                xmlns:set="http://exslt.org/sets";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="msg set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html-refentry.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-refentry.xsl	(original)
+++ trunk/xslt/docbook/html/db2html-refentry.xsl	Tue Feb 12 18:13:14 2008
@@ -19,6 +19,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:set="http://exslt.org/sets";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="set"
                 version="1.0">
 
 <!--!!==========================================================================

Modified: trunk/xslt/docbook/html/db2html.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html.xsl	(original)
+++ trunk/xslt/docbook/html/db2html.xsl	Tue Feb 12 18:13:14 2008
@@ -22,7 +22,9 @@
 
 <xsl:import href="../../gettext/gettext.xsl"/>
 
-<xsl:output method="html"/>
+<xsl:output method="html"
+            doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
+            doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
 <xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default"/>
 <!--#@ db2html.namespace -->
 <xsl:param name="db2html.namespace" select="''"/>

Modified: trunk/xslt/docbook/html/db2xhtml.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2xhtml.xsl	(original)
+++ trunk/xslt/docbook/html/db2xhtml.xsl	Tue Feb 12 18:13:14 2008
@@ -22,6 +22,9 @@
 
 <xsl:import href="../../gettext/gettext.xsl"/>
 
+<xsl:output method="html"
+            doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+            doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
 <!--#@ db2html.namespace -->
 <xsl:param name="db2html.namespace" select="'http://www.w3.org/1999/xhtml'"/>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]