first commit
[community-lisp-ru.git] / rulisp / src / articles.xsl
blobc4a5d8f7ce8ebf02cd12d474e57b01be8aa43130
1 <?xml version="1.0" encoding="utf-8"?>
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:xlink="http://www.w3.org/1999/xlink"
5 version="1.0">
7 <xsl:include href="content.xsl" />
9 <xsl:template match="/page">
10 <overlay>
11 <head>
12 <title>common.lisp.ru - <xsl:value-of select="@xlink:title" /></title>
13 </head>
15 <div id="content">
16 <h3><xsl:value-of select="@xlink:title" /></h3>
18 <table>
19 <tbody>
20 <tr>
21 <td><b>Автор:</b></td>
22 <td>
23 <a href="{author/@xlink:href}">
24 <xsl:value-of select="author/@xlink:title" />
25 </a>
26 </td>
27 </tr>
28 <tr>
29 <td><b>Источник:</b></td>
30 <td><a href="{@xlink:href}">http://lispnik.livejournal.com/9137.html</a></td>
31 </tr>
32 </tbody>
33 </table>
35 <xsl:apply-templates select="*|text()" />
36 </div>
37 </overlay>
38 </xsl:template>
40 <xsl:template match="author" />
42 </xsl:stylesheet>