[Dive4elements-commits] [PATCH 3 of 3] Use dc:replace to remove static "Fixierungen/" prefix in fixation description

Wald Commits scm-commit at wald.intevation.org
Thu Apr 4 16:08:15 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365084475 -7200
# Node ID 7be6785ad7b9b52e372a4791fd12985276cc72d0
# Parent  f8a4ee86d2765bd03dcde9ff061671f0065b723a
Use dc:replace to remove static "Fixierungen/" prefix in fixation description

diff -r f8a4ee86d276 -r 7be6785ad7b9 flys-artifacts/doc/conf/meta-data.xml
--- 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>


More information about the Dive4elements-commits mailing list