]> granicus.if.org Git - docbook-dsssl/commitdiff
Finish fixing bug #1540539
authorNorman Walsh <ndw@nwalsh.com>
Fri, 18 Aug 2006 10:56:49 +0000 (10:56 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 18 Aug 2006 10:56:49 +0000 (10:56 +0000)
xsl/fo/sections.xsl

index f6a587a46fa119dcd1625ef6bb7682d4ed11ac7c..66528777929e4c51b5ed3b2c54c5a163424f8072 100644 (file)
   <xsl:apply-templates/>
 </xsl:template>
 
-<xsl:template match="section[not(parent::*)]" name="section.page.sequence">
+<xsl:template match="/section" name="section.page.sequence">
   <xsl:variable name="id">
     <xsl:call-template name="object.id"/>
   </xsl:variable>
 
 <xsl:template match="/sect1">
   <xsl:variable name="id">
-    <xsl:call-template name="object.id">
-      <xsl:with-param name="object" select="ancestor::reference"/>
-    </xsl:call-template>
+    <xsl:call-template name="object.id"/>
   </xsl:variable>
   <xsl:variable name="master-reference">
     <xsl:call-template name="select.pagemaster"/>