annotate gnv-artifacts/contrib/visualize-transitions.xsl @ 1145:dfe1ac687c7f tip

added tags
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:16:15 +0200
parents 2d393d79c097
children
rev   line source
866
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
1115
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
2
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
3 <!--
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
4 Copyright (c) 2010 by Intevation GmbH
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
5
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
6 This program is free software under the LGPL (>=v2.1)
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
7 Read the file LGPL.txt coming with the software for details
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
8 or visit http://www.gnu.org/licenses/ if it does not exist.
1116
2d393d79c097 Added author names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1115
diff changeset
9
2d393d79c097 Added author names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1115
diff changeset
10 Author: Sascha L. Teichmann (sascha.teichmann@intevation.de)
1115
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
11 -->
f953c9a559d8 Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 866
diff changeset
12
866
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
13 <xsl:stylesheet
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
14 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
15 xmlns:xlink="http://www.w3.org/1999/xlink"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
16 version="1.0">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
17
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
18 <xsl:output method="text" encoding="UTF-8"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
19
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
20 <xsl:param name="base-dir">.</xsl:param>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
21
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
22 <xsl:template match="/">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
23 <xsl:text>digraph transition_model {&#xa;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
24 <xsl:apply-templates />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
25 <xsl:text>}&#xa;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 </xsl:template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
27
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
28 <xsl:template match="artifact">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
29 <xsl:choose>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
30 <xsl:when test="@xlink:href != ''">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
31 <!-- handle external artifacts -->
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
32 <xsl:variable name="path">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
33 <xsl:call-template name="string-replace-all">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
34 <xsl:with-param name="text" select="@xlink:href" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
35 <xsl:with-param name="replace">${artifacts.config.dir}</xsl:with-param>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
36 <xsl:with-param name="by" select="$base-dir" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
37 </xsl:call-template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
38 </xsl:variable>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
39 <xsl:for-each select="document($path)">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
40 <xsl:apply-templates select="/artifact"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
41 </xsl:for-each>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
42 </xsl:when>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
43 <xsl:otherwise>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
44 <!-- handle internal artifacts -->
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
45 <xsl:text>subgraph </xsl:text><xsl:value-of select="@name"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
46 <xsl:text> {&#xa;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
47 <xsl:text> label = "Artefakt: </xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
48 <xsl:value-of select="@name"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
49 <xsl:text>";&#xa;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
50 <xsl:apply-templates mode="inside-artifact" select="./states/state"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
51 <xsl:apply-templates mode="inside-artifact" select="./states/transition"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
52 <xsl:text>}&#xa;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
53 </xsl:otherwise>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
54 </xsl:choose>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
55 </xsl:template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
56
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
57 <xsl:template match="state" mode="inside-artifact">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
58 <xsl:text> </xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
59 <xsl:value-of select="@id"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
60 <xsl:text disable-output-escaping="yes"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
61 > [ shape = "record" label=&lt;&lt;table border="0" cellborder="0" cellpadding="3"&gt;
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
62 &lt;tr&gt;&lt;td align="center" colspan="2" bgcolor="black"&gt;&lt;font color="white"&gt;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
63 <xsl:value-of select="@id"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
64 <xsl:text disable-output-escaping="yes"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
65 >&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
66 <xsl:apply-templates mode="inside-artifact" select="./inputvalues"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
67 <xsl:text disable-output-escaping="yes"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
68 >&lt;/table&gt;&gt;]</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
69 <xsl:text>;&#xa;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
70 </xsl:template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
71
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
72 <xsl:template match="inputvalue" mode="inside-artifact">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
73 <xsl:text disable-output-escaping="yes"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
74 >&lt;tr&gt;&lt;td align="right"&gt;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
75 <xsl:value-of select="@name"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
76 <xsl:text disable-output-escaping="yes"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
77 >&lt;/td&gt;&lt;td align="left"&gt;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
78 <xsl:value-of select="@type"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
79 <xsl:text disable-output-escaping="yes"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
80 >&lt;/td&gt;&lt;/tr&gt;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
81 </xsl:template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
82
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
83 <xsl:template match="transition" mode="inside-artifact">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
84 <xsl:text> </xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
85 <xsl:value-of select="from/@state"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
86 <xsl:text disable-output-escaping="yes"> -&gt; </xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
87 <xsl:value-of select="to/@state"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
88 <xsl:apply-templates mode="inside-artifact"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
89 <xsl:text>;&#xa;</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
90 </xsl:template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
91
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
92 <xsl:template match="condition" mode="inside-artifact">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
93 <xsl:text> [ label="</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
94 <xsl:value-of select="@inputvalue"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
95 <xsl:text> </xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
96 <xsl:value-of select="@operator"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
97 <xsl:text> </xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
98 <xsl:value-of select="@value"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
99 <xsl:text>" ]</xsl:text>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
100 </xsl:template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
101
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
102 <xsl:template match="text()" mode="inside-artifact"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
103 <xsl:template match="text()"/>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
104
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
105 <xsl:template name="string-replace-all">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
106 <xsl:param name="text" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
107 <xsl:param name="replace" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
108 <xsl:param name="by" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
109 <xsl:choose>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
110 <xsl:when test="contains($text, $replace)">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
111 <xsl:value-of select="substring-before($text,$replace)" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
112 <xsl:value-of select="$by" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
113 <xsl:call-template name="string-replace-all">
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
114 <xsl:with-param name="text"
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
115 select="substring-after($text,$replace)" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
116 <xsl:with-param name="replace" select="$replace" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
117 <xsl:with-param name="by" select="$by" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
118 </xsl:call-template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
119 </xsl:when>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
120 <xsl:otherwise>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
121 <xsl:value-of select="$text" />
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
122 </xsl:otherwise>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
123 </xsl:choose>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
124 </xsl:template>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
125
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
126 </xsl:stylesheet>
ad06ad5f99ea ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
127

http://dive4elements.wald.intevation.org