Last change
on this file since 8867 was 8720, checked in by schweer, 20 years ago |
worked on web interface
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.9 KB
|
Line | |
---|
1 | <?xml version="1.0" ?>
|
---|
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
3 |
|
---|
4 | <xsl:output method="xml"
|
---|
5 | doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
|
---|
6 | doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes"/>
|
---|
7 | <!-- <xsl:output method="html"/> -->
|
---|
8 |
|
---|
9 | <xsl:template match="/">
|
---|
10 | <html>
|
---|
11 | <xsl:attribute name="lang">
|
---|
12 | <xsl:value-of select="//channel/language"/>
|
---|
13 | </xsl:attribute>
|
---|
14 | <head>
|
---|
15 | <link rel="stylesheet" type="text/css" href="/alerting/feed.css"/>
|
---|
16 | <title>
|
---|
17 | <xsl:value-of select="//channel/title"/>
|
---|
18 | </title>
|
---|
19 | </head>
|
---|
20 | <body>
|
---|
21 | <div id="content">
|
---|
22 | <xsl:apply-templates/>
|
---|
23 | </div>
|
---|
24 | </body>
|
---|
25 | </html>
|
---|
26 | </xsl:template>
|
---|
27 |
|
---|
28 | <xsl:template match="channel">
|
---|
29 | <div id="channelhead">
|
---|
30 | <h3>
|
---|
31 | <a>
|
---|
32 | <xsl:attribute name="href">
|
---|
33 | <xsl:value-of select="link"/>
|
---|
34 | </xsl:attribute>
|
---|
35 | <xsl:value-of select="title"/>
|
---|
36 | </a>
|
---|
37 | </h3>
|
---|
38 | <div class="description">
|
---|
39 | <xsl:value-of select="description" disable-output-escaping="yes"/>
|
---|
40 | </div>
|
---|
41 | </div>
|
---|
42 | <xsl:apply-templates/>
|
---|
43 | <div id="channelinfo">
|
---|
44 | Last rebuilt <xsl:value-of select="lastBuildDate"/>.<br/>
|
---|
45 | This file has been automatically generated by <xsl:value-of select="generator"/>; please <a><xsl:attribute name="href">mailto:<xsl:value-of select="webMaster"/></xsl:attribute>contact the webmaster</a> if you have any questions.<br/>
|
---|
46 | </div>
|
---|
47 | </xsl:template>
|
---|
48 |
|
---|
49 | <xsl:template match="item">
|
---|
50 | <div class="item">
|
---|
51 | <span class="date"><xsl:value-of select="pubDate"/></span>:
|
---|
52 | <span class="category"><xsl:value-of select="category"/></span><br/>
|
---|
53 | <a class="item">
|
---|
54 | <xsl:attribute name="href">
|
---|
55 | <xsl:value-of select="link"/>
|
---|
56 | </xsl:attribute>
|
---|
57 | <xsl:value-of select="title"/>
|
---|
58 | </a><br/>
|
---|
59 | </div>
|
---|
60 | <xsl:apply-templates/>
|
---|
61 | </xsl:template>
|
---|
62 |
|
---|
63 | <xsl:template match="text()"/>
|
---|
64 |
|
---|
65 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.