changeset 0 | 76005e62091d |
-1:000000000000 | 0:76005e62091d |
---|---|
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 } |