>b's YML 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
319 B

include yslt.yml2
decl ip(%value, name="ip", select="'%value'") alias xsl:variable;
decl rechner(%name, *ip, test="@name = '%name'") alias xsl:when {
ip *ip;
| ip ist «$ip»
};
tstylesheet template "/rechner" {
choose {
rechner "R1", "192.168.1.10";
rechner "R2", "192.168.1.11";
}
}