]> granicus.if.org Git - docbook-dsssl/commitdiff
Added support for orgname in authorgroup. Thanks to Camille
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 13 Feb 2008 02:49:55 +0000 (02:49 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 13 Feb 2008 02:49:55 +0000 (02:49 +0000)
Bégnis.

xsl/common/common.xsl

index 0f6c378f9565139249fe9ad4ad19ccf422b03fc7..d8a68b09e834f3c99a614468e295b69ac684766b 100644 (file)
@@ -574,6 +574,14 @@ Defaults to the context node.</para>
     <xsl:apply-templates select="$node//othername[1]"/>
   </xsl:if>
 
+  <xsl:if test="$node//orgname">
+    <xsl:if test="$node//honorific or $node//firstname
+                  or ($node//othername and $author.othername.in.middle != 0)">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$node//orgname[1]"/>
+  </xsl:if>
+
   <xsl:if test="$node//surname">
     <xsl:if test="$node//honorific or $node//firstname
                   or ($node//othername and $author.othername.in.middle != 0)">