Mercurial > dive4elements > river
annotate flys-artifacts/contrib/themes2html.xsl @ 3262:e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
flys-artifacts/trunk@4901 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 08 Jul 2012 14:55:03 +0000 |
parents | |
children | ee37ccea3b09 |
rev | line source |
---|---|
3262
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 <xsl:stylesheet |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 version="1.0" |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
5 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
6 <xsl:output method="xml" encoding="UTF-8" |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
7 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
8 doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
9 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
10 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
11 <xsl:template match="/themes/themegroup" mode="header"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
12 <li><a href="#tg-{@name}"><xsl:value-of select="@name"/></a> (<xsl:value-of select="count(theme)"/> themes)</li> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
13 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
14 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
15 <xsl:template match="field" mode="theme-inherits"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
16 <tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
17 <td><i><xsl:value-of select="@name"/></i> (<a |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
18 href="#theme-{../../../@name}-{../../@name}"><xsl:value-of select="../../@name"/></a>)</td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
19 <td><xsl:value-of select="@display"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
20 <td><xsl:value-of select="@type"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
21 <td><xsl:value-of select="@default"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
22 <td><xsl:value-of select="@hints"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
23 </tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
24 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
25 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
26 <xsl:template match="field" mode="theme-fields"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
27 <tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
28 <td><xsl:value-of select="@name"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
29 <td><xsl:value-of select="@display"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
30 <td><xsl:value-of select="@type"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
31 <td><xsl:value-of select="@default"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
32 <td><xsl:value-of select="@hints"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
33 </tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
34 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
35 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
36 <xsl:template match="inherit" mode="theme-inherits"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
37 <xsl:variable name="target" select="@from"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
38 <xsl:apply-templates |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
39 select="../../../theme[@name = $target]/inherits/inherit | /themes/themegroup/theme[@type='virtual' and @name=$target]/inherits/inherit" |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
40 mode="theme-inherits"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
41 <xsl:apply-templates |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
42 select="../../../theme[@name = $target]/fields/field | /themes/themegroup/theme[@type='virtual' and @name=$target]/fields/field" |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
43 mode="theme-inherits"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
44 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
45 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
46 <xsl:template match="theme" mode="theme-groups"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
47 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
48 <h4>[<a href="#theme-groups">Groups</a>] [<a href="#tg-{../@name}"><xsl:value-of select="../@name"/></a>] <a |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
49 name="theme-{../@name}-{@name}">Theme '<xsl:value-of select="@name"/>'<xsl:if |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
50 test="@type = 'virtual'"> (virtual)</xsl:if></a></h4> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
51 <table border="1" cellspacing="0" width="80%" summary="Definition of theme {@name}"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
52 <tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
53 <th>Name</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
54 <th>Display</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
55 <th>Type</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
56 <th>Default</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
57 <th>Hints</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
58 </tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
59 <xsl:apply-templates mode="theme-inherits" select="inherits/inherit"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
60 <xsl:apply-templates mode="theme-fields" select="fields/field"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
61 </table> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
62 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
63 <hr/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
64 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
65 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
66 <xsl:template match="theme" mode="theme-list"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
67 <li><a href="#theme-{../@name}-{@name}"><xsl:value-of select="@name"/></a></li> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
68 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
69 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
70 <xsl:template match="/themes/themegroup" mode="theme-groups"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
71 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
72 <h2><a name="tg-{@name}">Theme group '<xsl:value-of select="@name"/>'</a></h2> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
73 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
74 <h3>Theme List</h3> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
75 <ul> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
76 <xsl:apply-templates mode="theme-list" select="theme"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
77 </ul> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
78 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
79 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
80 <h3>Theme Definitions</h3> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
81 <xsl:apply-templates mode="theme-groups" select="theme"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
82 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
83 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
84 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
85 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
86 <xsl:template match="mapping" mode="mappings"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
87 <xsl:variable name="target" select="@to"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
88 <tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
89 <td><xsl:value-of select="@from"/></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
90 <td><a |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
91 href="#theme-{/themes/themegroup/theme[@name = $target][1]/../@name}-{$target}" |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
92 ><xsl:value-of select="@to"/></a></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
93 <td><xsl:if test="@pattern"><pre><xsl:value-of select="@pattern"/></pre></xsl:if></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
94 <td><xsl:if test="@masterAttr"><pre><xsl:value-of select="@masterAttr"/></pre></xsl:if></td> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
95 </tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
96 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
97 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
98 <xsl:template match="mappings" mode="mappings"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
99 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
100 <h3><a name="mappings">Mappings</a></h3> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
101 <table width="80%" border="1" cellspacing="0" summary="Mappings from facets to themes"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
102 <tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
103 <th>From</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
104 <th>To</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
105 <th>Pattern</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
106 <th>Condition</th> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
107 </tr> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
108 <xsl:apply-templates select="mapping" mode="mappings"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
109 </table> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
110 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
111 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
112 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
113 <xsl:template match="/"> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
114 <html> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
115 <head> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
116 <title>FLYS3 - Themes</title> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
117 </head> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
118 <body> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
119 <h1>FLYS3 - Themes</h1> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
120 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
121 <h2><a name="theme-groups">Theme groups</a> (<xsl:value-of select="count(/themes/themegroup)"/> groups)</h2> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
122 <ul> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
123 <xsl:apply-templates mode="header" select="/themes/themegroup[@name != 'virtual']"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
124 <xsl:apply-templates mode="header" select="/themes/themegroup[@name = 'virtual']"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
125 </ul> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
126 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
127 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
128 <h2><a href="#mappings">Mappings</a> (<xsl:value-of select="count(/themes/mappings/mapping)"/> mappings)</h2> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
129 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
130 <hr/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
131 <div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
132 <xsl:apply-templates mode="theme-groups" select="/themes/themegroup[@name != 'virtual']"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
133 <xsl:apply-templates mode="theme-groups" select="/themes/themegroup[@name = 'virtual']"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
134 </div> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
135 <xsl:apply-templates mode="mappings" select="/themes/mappings"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
136 </body> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
137 </html> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
138 </xsl:template> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
139 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
140 <xsl:template match="text()"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
141 <xsl:template match="text()" mode="header"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
142 <xsl:template match="text()" mode="theme-groups"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
143 <xsl:template match="text()" mode="theme-list"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
144 <xsl:template match="text()" mode="theme-fields"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
145 <xsl:template match="text()" mode="theme-inherits"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
146 <xsl:template match="text()" mode="mappings"/> |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
147 |
e01f74c3ec1e
Themes: Added XSL transformation to generate a better overview of the themes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
148 </xsl:stylesheet> |