Mercurial > dive4elements > river
changeset 6098:c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 25 May 2013 16:11:49 +0200 |
parents | a02d27da17ca |
children | 96b5066ab55e |
files | artifacts/doc/conf/meta-data.xml |
diffstat | 1 files changed, 20 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Sat May 25 08:14:56 2013 +0200 +++ b/artifacts/doc/conf/meta-data.xml Sat May 25 16:11:49 2013 +0200 @@ -2012,14 +2012,16 @@ ids="{$river_id};{$kind_name};{$kind_id}"/> </dc:for-each> </dc:filter> - <dc:filter expr="kind_id!=1"> - <other> - <dc:for-each> - <floody factory="wmsfloodplainfactory" - description="{$layer_name}" - ids="{$river_id};{$layer_name};{$kind_id}"/> - </dc:for-each> - </other> + <dc:filter expr="$kind_id != 1"> + <dc:if test="dc:has-result()"> + <other> + <dc:for-each> + <floody factory="wmsfloodplainfactory" + description="{$layer_name}" + ids="{$river_id};{$layer_name};{$kind_id}"/> + </dc:for-each> + </other> + </dc:if> </dc:filter> </floodplain> </dc:if> @@ -2405,14 +2407,16 @@ ids="{$river_id};{$kind_name};{$kind_id}"/> </dc:for-each> </dc:filter> - <dc:filter expr="kind_id=0"> - <other> - <dc:for-each> - <misc-qps description="{$layer_name}" - factory="wmsqpsfactory" - ids="{$river_id};{$layer_name};{$kind_id}"/> - </dc:for-each> - </other> + <dc:filter expr="$kind_id = 0"> + <dc:if test="dc:has-result()"> + <other> + <dc:for-each> + <misc-qps description="{$layer_name}" + factory="wmsqpsfactory" + ids="{$river_id};{$layer_name};{$kind_id}"/> + </dc:for-each> + </other> + </dc:if> </dc:filter> </qps> </dc:if>