images in PDF
[librarian.git] / librarian / xslt / book2html.xslt
index ca7cdbd..c8aa52b 100644 (file)
     <div class="motto"><xsl:apply-templates /></div>
 </xsl:template>
 
+<xsl:template match="ilustr" mode="inline">
+    <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="ilustr">
+    <img>
+        <xsl:attribute name="src">
+            <xsl:value-of select="@src" />
+        </xsl:attribute>
+        <xsl:attribute name="alt">
+            <xsl:value-of select="@alt" />
+        </xsl:attribute>
+        <xsl:attribute name="title">
+            <xsl:value-of select="@alt" />
+        </xsl:attribute>
+    </img>
+</xsl:template>
+
 
 <!-- ========================================== -->
 <!-- = PARAGRAPH TAGS                         = -->