]> granicus.if.org Git - docbook-dsssl/commitdiff
Added missing anchor
authorJirka Kosek <jirka@kosek.cz>
Wed, 19 Apr 2006 10:03:18 +0000 (10:03 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 19 Apr 2006 10:03:18 +0000 (10:03 +0000)
xsl/fo/synop.xsl

index 74c4f5b464e390ec2bc02c0299db47b7bfc50dfb..2da890156f7dceefdc23cfb4b267d803ce3a2c47 100644 (file)
   <xsl:variable name="snum">
     <xsl:apply-templates select="." mode="synopfragment.number"/>
   </xsl:variable>
-  <fo:block>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:block id="{$id}">
     <xsl:text>(</xsl:text>
     <xsl:value-of select="$snum"/>
     <xsl:text>)</xsl:text>