changeset 5562:7be6785ad7b9

Use dc:replace to remove static "Fixierungen/" prefix in fixation description
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 04 Apr 2013 16:07:55 +0200
parents f8a4ee86d276
children 673f68bb19a4
files flys-artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml	Thu Apr 04 16:07:24 2013 +0200
+++ b/flys-artifacts/doc/conf/meta-data.xml	Thu Apr 04 16:07:55 2013 +0200
@@ -217,7 +217,7 @@
                   ORDER BY prot_description
                 </dc:statement>
                 <dc:for-each>
-                  <fixation name="{$prot_description}">
+                  <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}">
                     <!--dc:attribute name="ids" value="fixations-wstv-A-${prot_id}"/--><dc:context>
                       <dc:call-macro name="SQL-wst_columns_statement"/>
                       <dc:for-each>
@@ -245,7 +245,7 @@
                   ORDER BY prot_description
                 </dc:statement>
                 <dc:for-each>
-                  <fixation name="{$prot_description}">
+                  <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}">
                     <dc:context>
                       <dc:call-macro name="SQL-wst_columns_statement"/>
                       <dc:for-each>
@@ -273,7 +273,7 @@
                   ORDER BY prot_description
                 </dc:statement>
                 <dc:for-each>
-                  <fixation name="{$prot_description}">
+                  <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}">
                     <dc:context>
                       <dc:call-macro name="SQL-wst_columns_statement"/>
                       <dc:for-each>
@@ -301,7 +301,7 @@
                   ORDER BY prot_description
                 </dc:statement>
                 <dc:for-each>
-                  <relativepoint name="{$prot_description}">
+                  <relativepoint name="{dc:replace($prot_description, 'Fixierungen/', '')}">
                     <dc:context>
                       <dc:call-macro name="SQL-wst_columns_statement"/>
                       <dc:for-each>

http://dive4elements.wald.intevation.org