]> granicus.if.org Git - docbook-dsssl/commitdiff
Support 'info'
authorNorman Walsh <ndw@nwalsh.com>
Thu, 29 Jan 2004 14:01:22 +0000 (14:01 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 29 Jan 2004 14:01:22 +0000 (14:01 +0000)
xsl/fo/titlepage.xsl

index 34ecea33379b03c3e5a721dccf57120dbd007e01..dcb817fd59c72ddd829afa97fbf61cfb25b0ae92 100644 (file)
 
 <!-- book recto -->
 
-<xsl:template match="bookinfo/authorgroup" mode="titlepage.mode" priority="2">
+<xsl:template match="bookinfo/authorgroup|info/authorgroup"
+             mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:if test="@id">
       <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
     <xsl:apply-templates mode="titlepage.mode"/>
 
     <xsl:if test="following-sibling::subtitle
+                  |following-sibling::info/subtitle
                   |following-sibling::bookinfo/subtitle">
       <xsl:text>: </xsl:text>
 
       <xsl:apply-templates select="(following-sibling::subtitle
+                                   |following-sibling::info/subtitle
                                    |following-sibling::bookinfo/subtitle)[1]"
                            mode="book.verso.subtitle.mode"/>
     </xsl:if>
   <xsl:apply-templates select="othercredit" mode="titlepage.mode"/>
 </xsl:template>
 
-<xsl:template match="bookinfo/author" mode="titlepage.mode" priority="2">
+<xsl:template match="bookinfo/author|info/author"
+             mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:call-template name="person.name"/>
   </fo:block>
 </xsl:template>
 
-<xsl:template match="bookinfo/corpauthor" mode="titlepage.mode" priority="2">
+<xsl:template match="bookinfo/corpauthor|info/corpauthor"
+             mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:apply-templates/>
   </fo:block>
 </xsl:template>
 
-<xsl:template match="bookinfo/pubdate" mode="titlepage.mode" priority="2">
+<xsl:template match="bookinfo/pubdate|info/pubdate"
+             mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:call-template name="gentext">
       <xsl:with-param name="key" select="'published'"/>