]> granicus.if.org Git - docbook-dsssl/commitdiff
Add comment on use of t:predicate for editor to prevent
authorBob Stayton <bobs@sagehill.net>
Mon, 16 Mar 2009 03:00:56 +0000 (03:00 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 16 Mar 2009 03:00:56 +0000 (03:00 +0000)
extra processing of multiple editors. Fixes bug 2687842.

xsl/fo/titlepage.templates.xml

index 454c8771417aa9882ae2b0a32c07f26e736555f4..2134afd17f4d8b082cd9f20fa0a3c3d061a1f919 100644 (file)
     <author space-before="0.5em"
             font-size="&hsize2;"/>
 
+    <!-- If you add editor, include this t:predicate attribute
+         because only the first editor generates the list of editors.
+    <editor t:predicate="[position() = 1]"/>
+    -->
     <othercredit space-before="0.5em"/>
     <releaseinfo space-before="0.5em"/>
     <copyright space-before="0.5em"/>
       <author font-size="&hsize3;"
              space-before="&hsize2space;"
              keep-with-next.within-column="always"/>
+      <!-- If you add editor, include this t:predicate attribute
+           because only the first editor generates the list of editors.
+      <editor t:predicate="[position() = 1]"/>
+      -->
     </t:titlepage-content>
 
   <t:titlepage-content t:side="verso">
       <corpauthor/>
       <authorgroup t:named-template="verso.authorgroup"/>
       <author/>
+      <!-- If you add editor, include this t:predicate attribute
+           because only the first editor generates the list of editors.
+      <editor t:predicate="[position() = 1]"/>
+      -->
       <othercredit/>
       <releaseinfo space-before="0.5em"/>
       <pubdate space-before="1em"/>