add link tag
[librarian.git] / librarian / xslt / book2html.xslt
index 778202e..91118fa 100644 (file)
     </a>
 </xsl:template>
 
+<xsl:template match="link" mode="inline">
+    <a>
+        <xsl:attribute name="href">
+            <xsl:value-of select="@url"/>
+        </xsl:attribute>
+        <xsl:value-of select="text()"/>
+    </a>
+</xsl:template>
+
 <!-- ============================================== -->
 <!-- = STANDALONE TAGS                            = -->
 <!-- = (cannot contain any other tags)            = -->