]> granicus.if.org Git - docbook-dsssl/commitdiff
Support DBv5 revisions with full author name (not only authorinitials)
authorJirka Kosek <jirka@kosek.cz>
Sun, 21 May 2006 12:47:25 +0000 (12:47 +0000)
committerJirka Kosek <jirka@kosek.cz>
Sun, 21 May 2006 12:47:25 +0000 (12:47 +0000)
xsl/fo/block.xsl
xsl/fo/titlepage.xsl

index 3ad1e0ed4d4713bf0e87ff4b7c2faebee9b64c10..860a803e50d93f774da525f28651682137a2cca9 100644 (file)
 <xsl:template match="revhistory/revision">
   <xsl:variable name="revnumber" select="revnumber"/>
   <xsl:variable name="revdate"   select="date"/>
-  <xsl:variable name="revauthor" select="authorinitials"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
   <xsl:variable name="revremark" select="revremark|revdescription"/>
   <fo:table-row>
     <fo:table-cell>
   <xsl:apply-templates/>
 </xsl:template>
 
+<xsl:template match="revision/author">
+  <xsl:apply-templates/>
+</xsl:template>
+
 <xsl:template match="revision/revremark">
   <xsl:apply-templates/>
 </xsl:template>
index d4954b90e2e669b73f20d19743a850d44fb8fa5f..e124783f61d801b91f4bb5f04a1bd3e303595b12 100644 (file)
 <xsl:template match="revhistory/revision" mode="titlepage.mode">
   <xsl:variable name="revnumber" select="revnumber"/>
   <xsl:variable name="revdate"   select="date"/>
-  <xsl:variable name="revauthor" select="authorinitials"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
   <xsl:variable name="revremark" select="revremark|revdescription"/>
   <fo:table-row>
     <fo:table-cell>
   <xsl:apply-templates mode="titlepage.mode"/>
 </xsl:template>
 
+<xsl:template match="revision/author" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
 <xsl:template match="revision/revremark" mode="titlepage.mode">
   <xsl:apply-templates mode="titlepage.mode"/>
 </xsl:template>