Saving mix_mute and solo with set files and working around a gtk+
[terminatorX.git] / website / tX.xsl
1 <?xml version="1.0"?> 
2
3 <xsl:stylesheet
4   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5   version="1.0">
6   
7   <xsl:template match="section">
8     <html>
9       <head>
10         <meta name="Author" content="Alexander Koenig"/>
11         <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
12         <link rel="icon" href="favicon.ico" type="image/x-icon"/>
13         <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
14         <title>terminatorX: <xsl:value-of select="@name"/></title>
15         <script language="Javascript" src="script.js" type="text/javascript"></script>
16         <style type="text/css">
17         A:hover {text-decoration: none; color: #ff4444}
18         A:active {text-decoration: none; color: #ff4444}
19         body { font-family: Verdana, sans-serif; }
20         p.plain { text-align: left }
21         p.fancy { text-align: justify }
22         </style>
23       </head>
24     <body text="#FFFFFF" face="sans" bgcolor="#555555" link="#FFFF99" vlink="#FFCC33" alink="#FF0000"
25     onload="rolloverLoad('main','pix/vinyl-hover.gif','pix/vinyl.png');
26             rolloverLoad('download','pix/vinyl-hover.gif','pix/vinyl.png');
27             rolloverLoad('screenshots','pix/vinyl-hover.gif','pix/vinyl.png');
28             rolloverLoad('faq','pix/vinyl-hover.gif','pix/vinyl.png');
29             rolloverLoad('docs','pix/vinyl-hover.gif','pix/vinyl.png');
30             rolloverLoad('turntable','pix/vinyl-hover.gif','pix/vinyl.png');
31             rolloverLoad('scratches','pix/vinyl-hover.gif','pix/vinyl.png');
32             rolloverLoad('aseqjoy','pix/vinyl-hover.gif','pix/vinyl.png');
33             "
34     >
35     <table width="100%" cellspacing="5px">
36     <tr>
37     <td>
38     <center>
39     <img ALT="terminatorX" src="pix/tX_logo.jpg" />
40     </center>
41     </td>
42     </tr>
43     </table>
44 <!--new-->
45         <table border="0" cellspacing="0" cellpadding="0" width="100%">
46         <tr>
47         <td bgcolor="#ffffff" align="left"><font face="Arial,Helvetica" color="#ffffff" size="+2">menu</font></td>
48         <td bgcolor="#ffffff" width="100%">
49         <table width="100%" cellspacing="0" border="0" cellpadding="4px">       
50         <tr><td bgcolor="#ffffff" align="right" width="100%">
51                 <font face="Arial,Helvetica" color="#000000" size="+2">
52                 <b><xsl:value-of select="@name"/></b>
53                 </font>
54         </td></tr>
55         </table>
56         </td>
57         </tr>
58         
59         <tr>
60 <!--menu-->     
61         <td valign="top">
62         <table cellspacing="0" border="0" cellpadding="2px">
63         <tr>
64                 <xsl:if test="@name='main'"> 
65                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">main</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
66                 </xsl:if>
67                 <xsl:if test="@name!='main'"> 
68                         <td><img name="main" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('main');" onMouseOver="rolloverOn('main');" href="./">main</a></td><td/>
69                 </xsl:if>
70         </tr>
71
72         <tr>
73                 <xsl:if test="@name='download'"> 
74                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">download</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
75                 </xsl:if>
76                 <xsl:if test="@name!='download'"> 
77                         <td><img name="download" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('download');" onMouseOver="rolloverOn('download');" href="download.html">download</a></td><td/>
78                 </xsl:if>
79         </tr>
80
81
82         <tr>
83                 <xsl:if test="@name='screenshots'"> 
84                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">screenshots</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
85                 </xsl:if>
86                 <xsl:if test="@name!='screenshots'"> 
87                         <td><img name="screenshots" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('screenshots');" onMouseOver="rolloverOn('screenshots');" href="screenshots.html">screenshots</a></td><td/>
88                 </xsl:if>
89         </tr>
90
91         <tr>
92                 <xsl:if test="@name='faq'"> 
93                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">faq</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
94                 </xsl:if>
95                 <xsl:if test="@name!='faq'"> 
96                         <td><img name="faq" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('faq');" onMouseOver="rolloverOn('faq');" href="faq.html">faq</a></td><td/>
97                 </xsl:if>
98         </tr>
99
100         <tr>
101                 <xsl:if test="@name='docs'"> 
102                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">docs</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
103                 </xsl:if>
104                 <xsl:if test="@name!='docs'"> 
105                         <td><img name="docs" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('docs');" onMouseOver="rolloverOn('docs');" href="docs.html">docs</a></td><td/>
106                 </xsl:if>
107         </tr>
108
109         <tr>
110                 <xsl:if test="@name='scratches'"> 
111                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">scratches</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
112                 </xsl:if>
113                 <xsl:if test="@name!='scratches'"> 
114                         <td><img name="scratches" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('scratches');" onMouseOver="rolloverOn('scratches');" href="scratches.html">scratches</a></td><td/>
115                 </xsl:if>
116         </tr>
117
118         <tr>
119                 <xsl:if test="@name='turntable gallery'"> 
120                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">turntables</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
121                 </xsl:if>
122                 <xsl:if test="@name!='turntable gallery'"> 
123                         <td><img name="turntable" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('turntable');" onMouseOver="rolloverOn('turntable');" href="turntable.html">turntables</a></td><td/>
124                 </xsl:if>
125         </tr>
126
127         <tr>
128                 <xsl:if test="@name='aseqjoy'"> 
129                         <td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-highlight.png" vspace="0"/></td><td bgcolor="#777777">aseqjoy</td><td bgcolor="#777777"><img alt="-" border="0" src="pix/vinyl-spacer.png" vspace="0"/></td>
130                 </xsl:if>
131                 <xsl:if test="@name!='aseqjoy'"> 
132                         <td><img name="aseqjoy" alt="-" border="0" src="pix/vinyl.png" vspace="0"/></td><td><a onMouseOut="rolloverOff('aseqjoy');" onMouseOver="rolloverOn('aseqjoy');" href="aseqjoy.html">aseqjoy</a></td><td/>
133                 </xsl:if>
134         </tr>
135
136         
137         </table>
138         </td>
139         
140 <!--contents--> 
141         <td valign="top">
142     <table width="100%" border="0" cellspacing="0" cellpadding="10px">
143     <tr>
144     <td bgcolor="#777777" width="100%">
145     <xsl:apply-templates/>
146     </td>
147     </tr>
148     </table>
149         
150         </td>
151         </tr>
152         </table>
153
154 <!--old -->
155     
156
157     <HR width="100%" />
158     <table width="100%">
159       <tr>
160         <td align="left" width="100%" valign="top">
161         <font size="-1">
162             Copyright (C) 1999-2003 by <A HREF="mailto:alex@lisas.de">Alexander KMAKE_THIS_MYOUMLnig</A>            
163         </font>
164           </td>
165           <td><a href="http://validator.w3.org/check/referer"><img border="0"
166         src="http://validator.w3.org/images/vh401"
167         alt="Valid HTML 4.01!" height="31" width="88"/></a></td>
168       </tr>
169     </table>
170     </body>
171     </html>
172   </xsl:template>
173   
174   <xsl:template match="heading">
175     <font size="+2"><xsl:apply-templates/></font><br/>
176   </xsl:template>
177
178   <xsl:template match="subtitle">
179     <font size="-2"><xsl:apply-templates/></font>
180   </xsl:template>
181   
182   <xsl:template match="para">
183         <xsl:if test="@class='fancy'">
184                 <p class="fancy"><xsl:apply-templates/></p>
185         </xsl:if>
186         <xsl:if test="@class='plain'">
187                 <p class="plain"><xsl:apply-templates/></p>
188         </xsl:if>       
189   </xsl:template>
190   
191   <xsl:template match="italic">
192     <i><xsl:apply-templates/></i>
193   </xsl:template>
194
195   <xsl:template match="red">
196     <font color="#FF4444"><xsl:apply-templates/></font>
197   </xsl:template>
198   
199   <xsl:template match="bold">
200     <b><xsl:apply-templates/></b>
201   </xsl:template>
202   
203   <xsl:template match="newsheader"/>
204   
205   <xsl:template match="newsitem">
206         <table border="0" cellspacing="0" cellpadding="0">
207 <!-- header -->
208         <tr>
209         <td bgcolor="#999999">
210         
211         <xsl:for-each select="newsheader">
212                 <table border="0" cellspacing="0" cellpadding="2px">
213                         <tr>
214                         <td><img src="pix/new.png" alt="new:"/></td>
215                         <td align="left" valign="middle" width="100%"><font size="+1"><xsl:apply-templates/></font><font color="#DDDDDD" size="+1"> [<xsl:value-of select="@date"/>]</font></td>
216                         </tr>
217                 </table>
218         </xsl:for-each>
219         
220         </td>
221         </tr>
222 <!-- contents -->
223         <tr>
224         <td>
225                 <xsl:apply-templates/>  
226         </td>
227         </tr>
228         </table>        
229   </xsl:template>
230   
231   <xsl:template match="link">
232   <A><xsl:attribute name="HREF"><xsl:value-of select="@ref"/></xsl:attribute><xsl:apply-templates/></A>
233   </xsl:template>
234   
235   <xsl:template match="newline">
236     <br/>
237   </xsl:template>
238   
239   <xsl:template match="itemizedlist">
240     CLOSE_DA_P<ul><xsl:apply-templates/></ul>OPEN_DA_P
241   </xsl:template>
242   
243   <xsl:template match="listitem">
244     <li><xsl:apply-templates/></li>
245   </xsl:template>
246   
247   <xsl:template match="person">
248     <a><xsl:attribute name="href">mailto:<xsl:if test="email='alex@lisas.de'">alex@lisas.de</xsl:if><xsl:if test="email!='alex@lisas.de'">NOSPAM_<xsl:value-of select="substring-before(email, '@')"/>_AT_<xsl:value-of select="substring-after(email, '@')"/>_NOSPAM</xsl:if></xsl:attribute><xsl:value-of select="name"/></a>
249   </xsl:template>
250   
251   <xsl:template match="index">
252     <p>
253     <font size="+1">
254     <xsl:value-of select="title"/>
255     </font>
256     </p>
257     <ul>
258     <xsl:for-each select="//subsection">
259     <li>
260     <a><xsl:attribute name="href">#<xsl:value-of select="title"/></xsl:attribute><xsl:value-of select="title"/></a>
261     </li>
262     </xsl:for-each>
263     </ul>
264     <p>
265     </p>
266   </xsl:template>
267   
268   <xsl:template match="subsection">
269     <p>
270     <font size="+1">
271     <a><xsl:attribute name="name"><xsl:value-of select="title"/></xsl:attribute><xsl:value-of select="title"/></a>
272     </font>
273     </p>
274     <xsl:apply-templates/>
275   </xsl:template>
276   
277   <xsl:template match="title">
278   </xsl:template>
279   
280   <xsl:template match="tarfiles">
281     <ul>
282     <xsl:for-each select="tar">
283     <xsl:if test="@version!=//current/@version">
284     <li>Version <xsl:value-of select="@version"/>: <a><xsl:attribute name="href">terminatorX-<xsl:value-of select="@version"/>.tar.gz</xsl:attribute>terminatorX-<xsl:value-of select="@version"/>.tar.gz</a>
285         <xsl:if test="@havebz2='yes'">
286                 (<a><xsl:attribute name="href">terminatorX-<xsl:value-of select="@version"/>.tar.bz2</xsl:attribute>bz2</a>) 
287         </xsl:if>
288     </li>
289     </xsl:if>
290     </xsl:for-each>
291     </ul>
292   </xsl:template>
293
294   <xsl:template match="rpmfiles">
295     <ul>
296      <xsl:for-each select="rpm">
297      <xsl:if test="@version!=//current/@version">
298      <xsl:if test="string(@type)='i586'">
299      <li>i586-binary rpm: <a><xsl:attribute name="href">terminatorX-<xsl:value-of
300 select="@version"/>-<xsl:value-of
301 select="@rpmsubversion"/>.i586.rpm</xsl:attribute>terminatorX-<xsl:value-of
302 select="@version"/>-<xsl:value-of
303 select="@rpmsubversion"/>.i586.rpm</a></li>
304      </xsl:if>
305
306      <xsl:if test="string(@type)='i386'">
307      <li>i386-binary rpm: <a><xsl:attribute name="href">terminatorX-<xsl:value-of
308 select="@version"/>-<xsl:value-of
309 select="@rpmsubversion"/>.i386.rpm</xsl:attribute>terminatorX-<xsl:value-of
310 select="@version"/>-<xsl:value-of
311 select="@rpmsubversion"/>.i386.rpm</a></li>
312      </xsl:if>
313
314      <xsl:if test="string(@type)='sparc'">
315      <li>Sparc-binary rpm: <a><xsl:attribute
316 name="href">terminatorX-<xsl:value-of
317 select="@version"/>-<xsl:value-of
318 select="@rpmsubversion"/>.sparc.rpm</xsl:attribute>terminatorX-<xsl:value-of
319 select="@version"/>-<xsl:value-of
320 select="@rpmsubversion"/>.sparc.rpm</a></li>
321      </xsl:if>
322
323      <xsl:if test="string(@type)='src'">
324      <li>source rpm: <a><xsl:attribute name="href">terminatorX-<xsl:value-of
325 select="@version"/>-<xsl:value-of
326 select="@rpmsubversion"/>.src.rpm</xsl:attribute>terminatorX-<xsl:value-of
327 select="@version"/>-<xsl:value-of
328 select="@rpmsubversion"/>.src.rpm</a></li>
329      </xsl:if>
330      </xsl:if>
331      </xsl:for-each>
332     </ul>
333   </xsl:template>
334   
335   <xsl:template match="currentversion">
336    <p>
337    The current terminatorX release is Version <xsl:value-of select="//current/@version"/>.<br/>
338    Download as:
339    </p>
340    <ul>
341    <li>tar file: <a><xsl:attribute name="href">terminatorX-<xsl:value-of select="//current/@version"/>.tar.gz</xsl:attribute>terminatorX-<xsl:value-of select="//current/@version"/>.tar.gz</a>
342         <xsl:if test="//current/@havebz2='yes'">
343                 (<a><xsl:attribute name="href">terminatorX-<xsl:value-of select="//current/@version"/>.tar.bz2</xsl:attribute>bz2</a>) 
344         </xsl:if>
345    </li>
346    <xsl:for-each select="//rpm">
347    <xsl:if test="@version=//current/@version">
348      <xsl:if test="string(@type)='i586'">
349      <li>i586-binary  rpm: <a><xsl:attribute name="href">terminatorX-<xsl:value-of 
350         select="@version"/>-<xsl:value-of select="@rpmsubversion"
351         />.i586.rpm</xsl:attribute>terminatorX-<xsl:value-of 
352         select="@version"/>-<xsl:value-of select="@rpmsubversion"
353         />.i586.rpm</a></li>
354      </xsl:if>
355
356      <xsl:if test="string(@type)='i386'">
357      <li>i386-binary  rpm: <a><xsl:attribute name="href">terminatorX-<xsl:value-of 
358         select="@version"/>-<xsl:value-of select="@rpmsubversion"
359         />.i386.rpm</xsl:attribute>terminatorX-<xsl:value-of 
360         select="@version"/>-<xsl:value-of select="@rpmsubversion"
361         />.i386.rpm</a></li>
362      </xsl:if>
363
364      <xsl:if test="string(@type)='sparc'">
365      <li>Sparc-binary rpm: <a><xsl:attribute name="href">terminatorX-<xsl:value-of
366         select="@version"/>-<xsl:value-of select="@rpmsubversion"
367         />.sparc.rpm</xsl:attribute>terminatorX-<xsl:value-of 
368         select="@version"/>-<xsl:value-of select="@rpmsubversion"
369         />.sparc.rpm</a></li>
370      </xsl:if>
371
372
373      <xsl:if test="string(@type)='src'">
374      <li>source rpm: <a><xsl:attribute name="href">terminatorX-<xsl:value-of select="@version"/>-<xsl:value-of select="@rpmsubversion"/>.src.rpm</xsl:attribute>terminatorX-<xsl:value-of select="@version"/>-<xsl:value-of select="@rpmsubversion"/>.src.rpm</a></li>
375      </xsl:if>
376    </xsl:if>
377    </xsl:for-each> 
378    </ul>
379    
380    <xsl:if test="sum(//rpm[@version=//current/@version])=0">
381       Sorry, no rpms available for the current release, yet. Stay tuned.
382    </xsl:if>
383         <p>Debian users may prefer to install the <a href="http://packages.debian.org/unstable/sound/terminatorx.html">terminatorX Debian package</a> with <i>apt-get</i>.</p>
384   </xsl:template>
385   
386   <xsl:template match="filelist">
387    <ul>
388    <xsl:for-each select="file">
389      <li><a><xsl:attribute name="href"><xsl:apply-templates/></xsl:attribute><xsl:apply-templates/></a></li>
390    </xsl:for-each>
391    </ul>
392   </xsl:template>
393   
394   <xsl:template match="file">
395     <a><xsl:attribute name="href"><xsl:apply-templates/></xsl:attribute><xsl:apply-templates/></a>
396   </xsl:template>
397   
398   <xsl:template match="faq">
399   <a name="index"><font size="+1">Question-Index:</font></a>
400   <ul>
401   <xsl:for-each select="qa">
402     <li>
403     <a><xsl:attribute name="href">#<xsl:value-of select="position()"/></xsl:attribute><xsl:value-of select="question"/></a>
404     </li>
405   </xsl:for-each>
406   </ul>
407   <p>
408   <font size="+1">Answers:</font>
409   </p>
410   <xsl:apply-templates/>
411   </xsl:template>
412   
413   <xsl:template match="qa">
414   <table cellspacing="0" cellpadding="0" border="0" width="100%">
415   <tr>  
416   <td bgcolor="#999999">
417   <table cellspacing="0" cellpadding="3px" border="0" width="100%">
418   <tr><td>
419   <a><xsl:attribute name="name"><xsl:value-of select="position() div 2"/></xsl:attribute><font size="+1" color="#FFCC33"><xsl:value-of select="question"/></font></a>
420   </td></tr>
421   </table>
422   </td>
423   </tr>
424   <tr>
425   <td>
426   <xsl:apply-templates/>
427   </td>
428   </tr>
429   </table>
430     <p><font size="-1"> <a href="#index">(back to index)</a></font></p>
431   </xsl:template>
432   
433   <xsl:template match="question">
434   </xsl:template>
435
436   <xsl:template match="answer">
437     <xsl:apply-templates/>
438   </xsl:template>
439   
440   <xsl:template match="turntabletable">
441     <table width="100%" border="2" cellpadding="2px">
442 <!--
443     <tr bgcolor="#FFFF99">
444     
445
446     <td width="100%" colspan="2"><font face="Arial,Helvetica" color="#000000" size="+2"><b>Users' Turntables</b></font></td>
447    </tr>
448
449 -->    <xsl:apply-templates/>
450     </table>
451   </xsl:template>
452   
453   <xsl:template match="tt">
454   <tr bgcolor="#FFFF99">
455     <td width="100%" colspan="2" align="left"><font face="Arial,Helvetica" color="#000000" size="+1"><b><xsl:value-of select="@title"/></b></font></td>
456   </tr>
457   <tr>
458     <td width="50%" valign="top">
459         <xsl:for-each select="author">
460                 <b>Creator: </b><xsl:apply-templates/><br/>
461         </xsl:for-each>
462
463         <xsl:for-each select="text">
464                 <xsl:apply-templates/>
465         </xsl:for-each>
466     </td>
467     <td width="50%">
468         <table width="100%">
469         <tr>
470         <xsl:for-each select="ttimages">
471                 <xsl:apply-templates/>
472         </xsl:for-each>
473         </tr>
474         </table>
475     </td>
476   </tr>
477   </xsl:template>
478   
479   <xsl:template match="scratchtable">
480     <table width="100%" border="2">
481     <tr bgcolor="#FFFF99">
482     
483     <td><font size="+1" face="Arial,Helvetica" color="#000000"><b>Scratch</b></font></td>
484     <td><font size="+1" face="Arial,Helvetica" color="#000000"><b>Author</b></font></td>
485     <td><font size="+1" face="Arial,Helvetica" color="#000000"><b>Description</b></font></td>
486     </tr>
487     <xsl:apply-templates/>
488     </table>
489   </xsl:template>
490     
491   <xsl:template match="scratch">
492   <tr>
493     <xsl:apply-templates/>
494   </tr>
495   </xsl:template>
496     
497   <xsl:template match="mp3file|author|comment"> 
498   <td valign="top">
499     <xsl:apply-templates/>
500   </td>
501   </xsl:template>
502   
503   <xsl:template match="tinycomment|filesize">
504    <br/><font size="-1"><xsl:apply-templates/></font>
505   </xsl:template>
506   
507   <xsl:template match="screen">
508   <span style="font-family: monospace; color: #DDFFDD"><xsl:apply-templates/></span>
509   </xsl:template>
510   
511   <xsl:template match="screenshot">
512   <xsl:if test="name(.)='screenshot'">CLOSE_DA_P</xsl:if>
513   <center>
514     <table border="0" width="100%">
515     <tr>
516     <td>
517     <center>
518     <a><xsl:attribute name="href">pix/<xsl:value-of select="@filename"/></xsl:attribute>
519     <img border="0"><xsl:attribute name="alt"><xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="src">pix/pre_<xsl:value-of select="@filename"/></xsl:attribute></img>
520     </a>
521     </center>
522     </td>
523     </tr>
524     <tr>
525     <td>
526     <center>
527     <xsl:apply-templates/>
528     </center>
529     </td>
530     </tr>
531     </table>
532   </center>
533   <xsl:if test="name(.)='screenshot'">OPEN_DA_P</xsl:if>
534   </xsl:template>
535
536   <xsl:template match="image">
537     <xsl:if test="position()>3">
538             <xsl:if test="(position() div 2) mod 3=1">
539                 NEW_TT_ROW
540             </xsl:if>
541     </xsl:if>
542     <td width="33%" align="center" valign="top">
543     <table border="0">
544     <tr>
545     <td>
546     <center>
547     <a><xsl:attribute name="href">pix/<xsl:value-of select="@filename"/></xsl:attribute>
548     <img border="0"><xsl:attribute name="alt"><xsl:value-of select="name(.)"/></xsl:attribute><xsl:attribute name="src">pix/pre_<xsl:value-of select="@filename"/></xsl:attribute></img>
549     </a>
550     </center>
551     </td>
552     </tr>
553     <tr>
554     <td>
555     <center>
556     <xsl:apply-templates/>
557     </center>
558     </td>
559     </tr>
560     </table>
561     </td>
562   </xsl:template>
563   
564 </xsl:stylesheet>