]> granicus.if.org Git - docbook-dsssl/commitdiff
Remove unused NCX metadata elements
authorKeith Fahlgren <abdelazer@users.sourceforge.net>
Thu, 16 Sep 2010 07:04:43 +0000 (07:04 +0000)
committerKeith Fahlgren <abdelazer@users.sourceforge.net>
Thu, 16 Sep 2010 07:04:43 +0000 (07:04 +0000)
xsl/epub/docbook.xsl

index db5cd8af3d5b0b36e679804cc9e55020c8c2ec8d..ef87d21309f9a43ef9dc574a6d90c291a15e7892 100644 (file)
               <xsl:attribute name="name">dtb:uid</xsl:attribute>
               <xsl:attribute name="content"><xsl:call-template name="package-identifier"/></xsl:attribute>
             </xsl:element>
-
-            <xsl:comment>Default values for unused, legacy attributes</xsl:comment>
-            <xsl:element name="meta" namespace="http://www.daisy.org/z3986/2005/ncx/">
-              <xsl:attribute name="name">dtb:depth</xsl:attribute>
-              <xsl:attribute name="content">-1</xsl:attribute>
-            </xsl:element>
-            <xsl:element name="meta" namespace="http://www.daisy.org/z3986/2005/ncx/">
-              <xsl:attribute name="name">dtb:totalPageCount</xsl:attribute>
-              <xsl:attribute name="content">0</xsl:attribute>
-            </xsl:element>
-            <xsl:element name="meta" namespace="http://www.daisy.org/z3986/2005/ncx/">
-              <xsl:attribute name="name">dtb:maxPageNumber</xsl:attribute>
-              <xsl:attribute name="content">0</xsl:attribute>
-            </xsl:element>
           </xsl:element>
 
           <xsl:choose>