]> granicus.if.org Git - docbook-dsssl/commitdiff
Add id to legalnotice block so can be linked to.
authorBob Stayton <bobs@sagehill.net>
Fri, 13 Aug 2004 07:04:49 +0000 (07:04 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 13 Aug 2004 07:04:49 +0000 (07:04 +0000)
xsl/fo/titlepage.xsl

index ad8d59bbfda43866dbd8b1f388c599a581ee904d..e26ea6cd2f8a65b600058b87596ec687641c6c05 100644 (file)
 </xsl:template>
 
 <xsl:template match="legalnotice" mode="titlepage.mode">
-  <fo:block>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
     <xsl:if test="title"> <!-- FIXME: add param for using default title? -->
     <xsl:call-template name="formal.object.heading">
         <xsl:with-param name="title">