author | Volker Birk <vb@pep-project.org> |
Tue, 15 Dec 2020 11:29:51 +0100 | |
changeset 68 | 26120af11afd |
parent 0 | 76005e62091d |
permissions | -rw-r--r-- |
0 | 1 |
include yslt.yml2 |
2 |
||
3 |
decl ip(%value, name="ip", select="'%value'") alias xsl:variable; |
|
4 |
decl rechner(%name, *ip, test="@name = '%name'") alias xsl:when { |
|
5 |
ip *ip; |
|
6 |
| ip ist «$ip» |
|
7 |
}; |
|
8 |
||
9 |
tstylesheet template "/rechner" { |
|
10 |
choose { |
|
11 |
rechner "R1", "192.168.1.10"; |
|
12 |
rechner "R2", "192.168.1.11"; |
|
13 |
} |
|
14 |
} |