>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

5 years ago
  1. include yslt.yml2
  2. decl ip(%value, name="ip", select="'%value'") alias xsl:variable;
  3. decl rechner(%name, *ip, test="@name = '%name'") alias xsl:when {
  4. ip *ip;
  5. | ip ist «$ip»
  6. };
  7. tstylesheet template "/rechner" {
  8. choose {
  9. rechner "R1", "192.168.1.10";
  10. rechner "R2", "192.168.1.11";
  11. }
  12. }