changeset 5746:1dab240f9f55

remove prefixed directory names from descriptions in data cage
author Tom Gottfried <tom@intevation.de>
date Wed, 17 Apr 2013 18:19:19 +0200
parents ed9d7e360658
children 09465f534c86
files flys-artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml	Wed Apr 17 15:00:38 2013 +0200
+++ b/flys-artifacts/doc/conf/meta-data.xml	Wed Apr 17 18:19:19 2013 +0200
@@ -161,7 +161,7 @@
                   FROM wsts WHERE kind = 1 AND river_id = ${river_id}
                 </dc:statement>
                 <dc:for-each>
-                  <additional name="{$prot_description}">
+		  <additional name="{dc:replace($prot_description, 'Zus.Längsschnitte/', '')}">
                     <dc:context>
                       <dc:call-macro name="SQL-wst_columns_statement"/>
                       <dc:for-each>
@@ -383,7 +383,7 @@
                   FROM wsts WHERE kind = 4 AND river_id = ${river_id}
                 </dc:statement>
                 <dc:for-each>
-                  <heightmark name="{$prot_description}">
+                  <heightmark name="{dc:replace($prot_description, 'HW-Marken/', '')}">
                     <dc:context>
                       <dc:call-macro name="SQL-wst_columns_statement"/>
                       <dc:for-each>
@@ -410,7 +410,8 @@
                   FROM wsts WHERE kind = 4 AND river_id = ${river_id}
                 </dc:statement>
                 <dc:for-each>
-                  <heightmark name="{$prot_description}"><dc:context>
+                  <heightmark name="{$prot_description}">
+                    <dc:context>
                       <dc:call-macro name="SQL-wst_columns_statement"/>
                       <dc:for-each>
                         <column name="{$prot_column_name}"
@@ -466,7 +467,7 @@
                   FROM wsts WHERE kind = 5 AND river_id = ${river_id}
                 </dc:statement>
                 <dc:for-each>
-                  <flood_protection name="{$prot_description}"
+                  <flood_protection name="{dc:replace($prot_description, 'HW-Schutzanlagen/', '')}"
                                     db-id="{$prot_id}"
                                     factory="staticwkms">
                     <dc:context>

http://dive4elements.wald.intevation.org