Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/contrib/visualize-transitions.xsl @ 1115:f953c9a559d8
Added license file and license headers.
gnv-artifacts/trunk@1260 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 02 Nov 2010 17:46:55 +0000 |
parents | ad06ad5f99ea |
children | 2d393d79c097 |
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. |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
866
diff
changeset
|
9 --> |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
866
diff
changeset
|
10 |
866
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 <xsl:stylesheet |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 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
|
13 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
|
14 version="1.0"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
15 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
16 <xsl:output method="text" encoding="UTF-8"/> |
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:param name="base-dir">.</xsl:param> |
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:template match="/"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 <xsl:text>digraph transition_model {
</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 <xsl:apply-templates /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 <xsl:text>}
</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
24 </xsl:template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 <xsl:template match="artifact"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 <xsl:choose> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
28 <xsl:when test="@xlink:href != ''"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
29 <!-- handle external artifacts --> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
30 <xsl:variable name="path"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
31 <xsl:call-template name="string-replace-all"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 <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
|
33 <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
|
34 <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
|
35 </xsl:call-template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
36 </xsl:variable> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
37 <xsl:for-each select="document($path)"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
38 <xsl:apply-templates select="/artifact"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
39 </xsl:for-each> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
40 </xsl:when> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
41 <xsl:otherwise> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
42 <!-- handle internal artifacts --> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
43 <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
|
44 <xsl:text> {
</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
45 <xsl:text> label = "Artefakt: </xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
46 <xsl:value-of select="@name"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
47 <xsl:text>";
</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
48 <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
|
49 <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
|
50 <xsl:text>}
</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
51 </xsl:otherwise> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
52 </xsl:choose> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
53 </xsl:template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
54 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
55 <xsl:template match="state" mode="inside-artifact"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
56 <xsl:text> </xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
57 <xsl:value-of select="@id"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
58 <xsl:text disable-output-escaping="yes" |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
59 > [ shape = "record" label=<<table border="0" cellborder="0" cellpadding="3"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
60 <tr><td align="center" colspan="2" bgcolor="black"><font color="white"></xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
61 <xsl:value-of select="@id"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
62 <xsl:text disable-output-escaping="yes" |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
63 ></font></td></tr></xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
64 <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
|
65 <xsl:text disable-output-escaping="yes" |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
66 ></table>>]</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
67 <xsl:text>;
</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
68 </xsl:template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
69 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
70 <xsl:template match="inputvalue" mode="inside-artifact"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
71 <xsl:text disable-output-escaping="yes" |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
72 ><tr><td align="right"></xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
73 <xsl:value-of select="@name"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
74 <xsl:text disable-output-escaping="yes" |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
75 ></td><td align="left"></xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
76 <xsl:value-of select="@type"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
77 <xsl:text disable-output-escaping="yes" |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
78 ></td></tr></xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
79 </xsl:template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
80 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
81 <xsl:template match="transition" mode="inside-artifact"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
82 <xsl:text> </xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
83 <xsl:value-of select="from/@state"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
84 <xsl:text disable-output-escaping="yes"> -> </xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
85 <xsl:value-of select="to/@state"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
86 <xsl:apply-templates mode="inside-artifact"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
87 <xsl:text>;
</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
88 </xsl:template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
89 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
90 <xsl:template match="condition" mode="inside-artifact"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
91 <xsl:text> [ label="</xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
92 <xsl:value-of select="@inputvalue"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
93 <xsl:text> </xsl:text> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
94 <xsl:value-of select="@operator"/> |
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="@value"/> |
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:template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
99 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
100 <xsl:template match="text()" mode="inside-artifact"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
101 <xsl:template match="text()"/> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
102 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
103 <xsl:template name="string-replace-all"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
104 <xsl:param name="text" /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
105 <xsl:param name="replace" /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
106 <xsl:param name="by" /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
107 <xsl:choose> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
108 <xsl:when test="contains($text, $replace)"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
109 <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
|
110 <xsl:value-of select="$by" /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
111 <xsl:call-template name="string-replace-all"> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
112 <xsl:with-param name="text" |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
113 select="substring-after($text,$replace)" /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
114 <xsl:with-param name="replace" select="$replace" /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
115 <xsl:with-param name="by" select="$by" /> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
116 </xsl:call-template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
117 </xsl:when> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
118 <xsl:otherwise> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
119 <xsl:value-of select="$text" /> |
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:choose> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
122 </xsl:template> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
123 |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
124 </xsl:stylesheet> |
ad06ad5f99ea
ISSUE262: Added XSL-Transformation for the Transitionsmodel
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
125 |