/[projects]/android/TrainInfoServiceGoogle/war/departures.xsl
ViewVC logotype

Contents of /android/TrainInfoServiceGoogle/war/departures.xsl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1080 - (show annotations) (download) (as text)
Mon Sep 20 20:11:55 2010 UTC (13 years, 7 months ago) by torben
File MIME type: application/xml
File size: 997 byte(s)
Add a copy with partial support for google app engine
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
6 <xsl:template match="departureinfo">
7 <html>
8 <body>
9
10
11 <h1><xsl:value-of select="@station"/></h1>
12
13 <table border="1">
14 <tr bgcolor="#9acd32">
15 <th>Time</th>
16 <th>Updated</th>
17 <th>Trainnumber</th>
18
19 <th>Destination</th>
20 <th>Origin</th>
21 <th>Location</th>
22
23 <th>Status</th>
24 <th>Note</th>
25 </tr>
26
27 <xsl:for-each select="train">
28 <tr>
29 <td><xsl:value-of select="time"/></td>
30 <td><xsl:value-of select="updated"/> </td>
31 <td><xsl:value-of select="trainnumber"/></td>
32 <td><xsl:value-of select="destination"/> </td>
33 <td><xsl:value-of select="origin"/> </td>
34 <td><xsl:value-of select="location"/>&#160;</td>
35 <td><xsl:value-of select="status"/>&#160;</td>
36 <td><xsl:value-of select="note"/>&#160;</td>
37 </tr>
38 </xsl:for-each>
39
40 </table>
41 </body>
42 </html>
43 </xsl:template>
44
45 </xsl:stylesheet>

  ViewVC Help
Powered by ViewVC 1.1.20