pdf: use apply-templates instead of value-of for texts
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 21 Dec 2010 13:02:24 +0000 (14:02 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 21 Dec 2010 13:02:24 +0000 (14:02 +0100)
librarian/xslt/wl2tex.xslt

index c17c17d..a6a9b56 100644 (file)
 
 <xsl:template match="rdf:RDF" mode="dctitle">
     <cmd name="section*"><parm>
 
 <xsl:template match="rdf:RDF" mode="dctitle">
     <cmd name="section*"><parm>
-        <xsl:value-of select=".//dc:title/text()" />
+        <xsl:apply-templates select=".//dc:title/node()" mode="inline" />
     </parm></cmd>
 </xsl:template>
 
     </parm></cmd>
 </xsl:template>
 
 <xsl:template match="lista_osob">
     <cmd name="par"><parm>
         <cmd name="textbf">
 <xsl:template match="lista_osob">
     <cmd name="par"><parm>
         <cmd name="textbf">
-            <parm><xsl:value-of select="naglowek_listy" /></parm>
+            <parm><xsl:apply-templates select="naglowek_listy" mode="inline" /></parm>
         </cmd>
         <env name="itemize">
             <xsl:apply-templates select="lista_osoba" />
         </cmd>
         <env name="itemize">
             <xsl:apply-templates select="lista_osoba" />
                 <cmd name="hspace"><parm>0pt</parm></cmd>
                 <cmd name="footnotesize"><parm>
                     <cmd name="color"><parm>theme</parm><parm>
                 <cmd name="hspace"><parm>0pt</parm></cmd>
                 <cmd name="footnotesize"><parm>
                     <cmd name="color"><parm>theme</parm><parm>
-                        <xsl:value-of select="." />
+                        <xsl:apply-templates mode="inline" />
                     </parm></cmd>
                 </parm></cmd>
             </parm></cmd>
                     </parm></cmd>
                 </parm></cmd>
             </parm></cmd>