1. Shlomi Fish
  2. perl-begin

Source

perl-begin / lib / sgml / shlomif-docbook / xsl-5-stylesheets / mychunk.xsl

Diff from to

File lib/sgml/shlomif-docbook/xsl-5-stylesheets/mychunk.xsl

  • Ignore whitespace
      customizations that use xsl:apply-imports to wrongly
      apply the chunking version instead of the original
      non-chunking version to format an element.  -->
-<xsl:include href="onechunk.xsl"/>
+<xsl:include href="chunk-code.xsl"/>
+
+<xsl:param name="onechunk" select="1"/>
+<xsl:param name="suppress.navigation">1</xsl:param>
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
 
 </xsl:stylesheet>