1
<?xml version="1.0" encoding="UTF-8"?>
4
xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"
5
xmlns:xs = "http://www.w3.org/2001/XMLSchema"
6
xmlns:svg = "http://www.w3.org/2000/svg">
7
<xsl:output method = "xml" version = "1.0" encoding = "UTF-8" indent = "yes"/>
8
<xsl:param name = "filename"/>
9
<xsl:param name = "previous"/>
10
<xsl:param name = "next"/>
11
<xsl:param name = "use3d"/>
12
<xsl:param name = "snapshot1"/>
13
<xsl:param name = "snapshot2"/>
14
<xsl:param name = "snapshot3"/>
15
<xsl:param name = "snapshot4"/>
16
<xsl:param name = "snapshot5"/>
17
<xsl:param name = "snapshot6"/>
18
<xsl:param name = "title" select = "//svg:title"/>
19
<xsl:template match = "/">
23
<xsl:value-of select = "$title"/>
25
<link rel = "stylesheet" type = "text/css" href = "index.css"/>
29
<xsl:value-of select = "$title"/>
33
<xsl:if test = "$previous">
35
<a href = "{$previous}.html">Previous</a>
39
<a href = "index.html">Index</a>
41
<xsl:if test = "$next">
43
<a href = "{$next}.html">Next</a>
50
<div id = "description">
52
<xsl:value-of select = "//svg:desc"/>
54
<div id = "downloadbar">
57
<li><a href = "{$filename}.svg">SVG </a></li>
58
<li><a href = "{$filename}.mp4">LASeR (as MP4 file)</a></li>
63
<div id = "contentview">
65
<object id = "player" type = "application/x-gpac"
66
width = "{//svg:svg/@width}"
67
height = "{//svg:svg/@height}"
68
pluginspage = "http://perso.enst.fr/~lefeuvre/GPAC/GPAC%20Framework%200.4.1%20Setup.exe">
69
<param name = "src" value = "{$filename}.svg"/>
70
Your browser does not have the GPAC plugin installed, visit http://gpac.sourceforge.net for more information ...</object>
71
<form name = "formname">
72
<input type = "button" value = "Play" onclick = "document.player.Play()"/>
73
<input type = "button" value = "Pause" onclick = "document.player.Pause()"/>
74
<input type = "button" value = "Reload" onclick = "document.player.Reload()"/>
78
<xsl:if test = "$snapshot1">
79
<div id = "snapshotview">
83
<xsl:if test = "$snapshot1"><td>At time T = <xsl:value-of select="$snapshot1"/></td></xsl:if>
84
<xsl:if test = "$snapshot2"><td>At time T = <xsl:value-of select="$snapshot2"/></td></xsl:if>
85
<xsl:if test = "$snapshot3"><td>At time T = <xsl:value-of select="$snapshot3"/></td></xsl:if>
86
<xsl:if test = "$snapshot4"><td>At time T = <xsl:value-of select="$snapshot4"/></td></xsl:if>
87
<xsl:if test = "$snapshot5"><td>At time T = <xsl:value-of select="$snapshot5"/></td></xsl:if>
88
<xsl:if test = "$snapshot6"><td>At time T = <xsl:value-of select="$snapshot6"/></td></xsl:if>
91
<xsl:if test = "$snapshot1">
92
<td><img src = "{$filename}_1.bmp" alt = "{concat('Snapshot #1 at time ',$snapshot1)}"/></td>
94
<xsl:if test = "$snapshot2">
95
<td><img src = "{$filename}_2.bmp" alt = "{concat('Snapshot #2 at time ',$snapshot2)}"/></td>
97
<xsl:if test = "$snapshot3">
98
<td><img src = "{$filename}_3.bmp" alt = "{concat('Snapshot #3 at time ',$snapshot3)}"/></td>
100
<xsl:if test = "$snapshot4">
101
<td><img src = "{$filename}_4.bmp" alt = "{concat('Snapshot #4 at time ',$snapshot4)}"/></td>
103
<xsl:if test = "$snapshot5">
104
<td><img src = "{$filename}_5.bmp" alt = "{concat('Snapshot #5 at time ',$snapshot5)}"/></td>
106
<xsl:if test = "$snapshot6">
107
<td><img src = "{$filename}_6.bmp" alt = "{concat('Snapshot #6 at time ',$snapshot6)}"/></td>