Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 961:3ba4f5a88c20
Datacage template: Added a new 'if' construct similiar to XSLT
flys-artifacts/trunk@2380 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 20:13:49 +0000 |
parents | 92027887775a |
children | 2de1808503be |
comparison
equal
deleted
inserted
replaced
960:92027887775a | 961:3ba4f5a88c20 |
---|---|
1 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
4 Added a new 'if' construct similiar to XSLT: | |
5 | |
6 <dc:if test="not(dc:contains($outs, '5'))"> | |
7 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
8 </dc:if> | |
9 | |
10 The control flow is continued inside the 'if' if the 'test' attribute | |
11 as an XPath expression on an empty document evalutes to true. | |
12 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise' | |
13 if you need this. | |
14 | |
1 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 15 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 16 |
3 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | 17 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: |
4 Added a recommend() method to generate recommendations for | 18 Added a recommend() method to generate recommendations for |
5 a given artifact, outs and extra parameters. | 19 a given artifact, outs and extra parameters. |