latex dir for debugging
[librarian.git] / librarian / epub / xsltLast.xsl
index 41afd36..0ef8042 100644 (file)
@@ -48,7 +48,7 @@
                   <xsl:value-of select="//dc:identifier.url" />
               </xsl:attribute>
               <xsl:attribute name="title">
-                  <xsl:value-of select="wl:person_name(//dc:creator/text())" />, <xsl:value-of select="//dc:title" />
+                  <xsl:for-each select="//dc:creator/text()"><xsl:value-of select="wl:person_name(.)"/>, </xsl:for-each><xsl:value-of select="//dc:title" />
               </xsl:attribute>
               <xsl:value-of select="//dc:identifier.url" />
           </a></p>
             <p class="info">Tekst opracowany na podstawie: <xsl:value-of select="//dc:source" /></p>
           </xsl:if>
 
+          <xsl:if test=".//dc:publisher">
+            <p class="info">
+              Wydawca:
+              <xsl:for-each select="//dc:publisher/text()">
+                <xsl:value-of select="."/>
+                <xsl:if test="not(position() = last())">, </xsl:if>
+              </xsl:for-each>
+            </p>
+          </xsl:if>
+
           <xsl:if test="//dc:description" >
             <p class="info"><xsl:value-of select="//dc:description" /></p>
           </xsl:if>
 
   <xsl:template name="funders">
     <xsl:if test="@funders">
-        <p class="minor-info">Publikację ufundowali i ufundowały:
+        <p class="minor-info">Publikację wsparli i wsparły:
             <xsl:value-of select="@funders" />.</p>
     </xsl:if>
   </xsl:template>