1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:output omit-xml-declaration="yes" />
5 <xsl:template match="papers">
7 <xsl:apply-templates />
11 <xsl:template match="paper">
13 <xsl:apply-templates select="authors" />
15 <xsl:apply-templates select="title" />
16 <xsl:element name="a">
17 <xsl:attribute name="class">paper_download</xsl:attribute>
18 <xsl:attribute name="href">
19 <xsl:text>papers/</xsl:text>
20 <xsl:value-of select="@name" />
21 <xsl:text>.pdf</xsl:text>
23 <span class="pdf_logo">.pdf</span>
25 <xsl:element name="a">
26 <xsl:attribute name="class">paper_download</xsl:attribute>
27 <xsl:attribute name="href">
28 <xsl:text>papers/</xsl:text>
29 <xsl:value-of select="@name" />
30 <xsl:text>.ps</xsl:text>
32 <span class="ps_logo">.ps</span>
35 <xsl:apply-templates select="info" />
37 <xsl:apply-templates select="abstract" />
41 <xsl:template match="authors">
42 <span class="paper_author">
43 <xsl:for-each select="author">
44 <xsl:apply-templates />
45 <xsl:if test="position()!=last()">
46 <xsl:text>, </xsl:text>
52 <xsl:template match="title">
53 <span class="paper_title">
54 <xsl:apply-templates />
58 <xsl:template match="info">
59 <span class="paper_info">
60 <xsl:apply-templates />
64 <xsl:template match="abstract">
65 <span class="paper_abstract">
66 <xsl:apply-templates />