1 <?xml version="1.0" encoding="UTF-8"?>
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns="http://www.w3.org/1999/xhtml"
8 <xsl:template name="rule">
12 title="\lambda\delta rainbow rule"
13 src="{$baseurl}images/rainbow.png"
18 <xsl:template name="butterfly">
19 <xsl:param name="name"/>
22 title="\lambda\delta butterfly"
23 src="{$baseurl}images/b{$name}.png"
27 <!-- label support -->
29 <xsl:template name="xhtml-label">
30 <a href="http://validator.w3.org/check?uri=referer">
32 alt="[Valid XHTML 1.1]"
33 title="Valid XHTML 1.1"
34 src="http://www.w3.org/Icons/valid-xhtml11-blue"
39 <xsl:template name="css-label">
40 <a href="http://jigsaw.w3.org/css-validator/check/referer">
42 alt="[Valid CSS level 2]"
43 title="Valid CSS level 2"
44 src="http://www.w3.org/Icons/valid-css2-blue"
49 <xsl:template name="xslt-label">
50 <a href="http://www.w3.org/XML/">
52 alt="[Generated from XML via XSL]"
53 title="Generated from XML via XSL"
54 src="{$baseurl}images/xml_xsl2.png"
59 <xsl:template name="png-label">
60 <a href="http://www.w3.org/Graphics/PNG/">
64 src="{$baseurl}images/PNGnow2.png"
69 <xsl:template name="browser-label">
70 <a href="http://www.anybrowser.org/campaign/">
72 alt="[Viewable with any browser]"
73 title="Viewable with any browser"
74 src="http://www.anybrowser.org/campaign/bvgraphics/abtfile.png"
79 <xsl:template name="helena-label">
80 <a href="{$baseurl}implementation.html#helena">
82 alt="[Powered by Helena \lambda\delta processor]"
83 title="Powered by Helena \lambda\delta processor"
84 src="{$baseurl}images/helena_label.png"
91 <xsl:template name="crux-logo">
92 <a href="{$baseurl}"><img class="icon32"
93 alt="[\lambda\delta home]"
94 title="\lambda\delta home"
95 src="{$baseurl}images/crux_32.png"
99 <xsl:template name="ld3-logo">
100 <xsl:call-template name="butterfly">
101 <xsl:with-param name="name" select="8"/>
105 <xsl:template name="ld2-logo">
106 <xsl:call-template name="butterfly">
107 <xsl:with-param name="name" select="4"/>
111 <xsl:template name="ld1-logo">
112 <xsl:call-template name="butterfly">
113 <xsl:with-param name="name" select="6"/>
117 <xsl:template name="osn-logo">
118 <a href="{$baseurl}osn.html"><img class="w3c"
119 alt="[Open Symbolic Notation logo]"
120 title="OSN: Open Symbolic Notation"
121 src="{$baseurl}images/osn_label.png"
125 <xsl:template name="helena-logo">
129 src="{$baseurl}images/helena_32.png"
133 <xsl:template name="lddl-logo">
135 alt="[\lambda\delta digital library logo]"
136 title="LDDL: \lambda\delta digital library"
137 src="{$baseurl}images/crux_32.png"
141 <xsl:template name="smile-logo">
145 src="{$baseurl}images/smile.png"
149 <!-- img main template -->
151 <xsl:template name="img">
153 <xsl:when test="@logo='crux'">
154 <xsl:call-template name="crux-logo"/>
156 <xsl:when test="@logo='ld3'">
157 <xsl:call-template name="ld3-logo"/>
159 <xsl:when test="@logo='ld2'">
160 <xsl:call-template name="ld2-logo"/>
162 <xsl:when test="@logo='ld1'">
163 <xsl:call-template name="ld1-logo"/>
165 <xsl:when test="@logo='osn'">
166 <xsl:call-template name="osn-logo"/>
168 <xsl:when test="@logo='helena'">
169 <xsl:call-template name="helena-logo"/>
171 <xsl:when test="@logo='lddl'">
172 <xsl:call-template name="lddl-logo"/>
174 <xsl:when test="@logo='smile'">
175 <xsl:call-template name="smile-logo"/>
177 <xsl:when test="@label='helena'">
178 <xsl:call-template name="helena-label"/>
183 <xsl:template name="sp">
184 <xsl:text> </xsl:text>