[PATCH 1 of 3] meta-data.xml: More usage of collection-group-macro

Wald Commits scm-commit at wald.intevation.org
Wed Oct 23 11:42:09 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1382520167 -7200
# Node ID daa04d2f42ed50f1ee09ca32c2883f38b5a02867
# Parent  cae7c0625436d71cdb7af0060cf1f107f828b413
meta-data.xml: More usage of collection-group-macro.

diff -r cae7c0625436 -r daa04d2f42ed artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Wed Oct 23 11:28:25 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Oct 23 11:22:47 2013 +0200
@@ -776,7 +776,7 @@
         (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location'))">
         <dc:if test="dc:has-result()">
           <waterlevels>
-            <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)">
+            <dc:call-macro name="collection-group">
               <waterlevels description="{dc:group-key()}">
                 <dc:for-each>
                   <dc:choose>
@@ -798,7 +798,7 @@
                   </dc:element>
                 </dc:for-each>
               </waterlevels>
-            </dc:group>
+            </dc:call-macro>
           </waterlevels>
         </dc:if>
       </dc:filter>
@@ -816,7 +816,7 @@
       <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and $facet_name = 'longitudinal_section.w'">
         <dc:if test="dc:has-result()">
           <vollmer_waterlevels>
-            <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)">
+            <dc:call-macro name="collection-group">
               <waterlevels description="{dc:group-key()}">
                 <dc:for-each>
                   <dc:choose>
@@ -838,7 +838,7 @@
                   </dc:element>
                 </dc:for-each>
               </waterlevels>
-            </dc:group>
+            </dc:call-macro>
           </vollmer_waterlevels>
         </dc:if>
       </dc:filter>
@@ -846,7 +846,7 @@
         (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location')))">
         <dc:if test="dc:has-result()">
           <waterlevels>
-            <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)">
+            <dc:call-macro name="collection-group">
                 <waterlevels description="{dc:group-key()}">
                   <dc:for-each>
                     <dc:choose>
@@ -868,7 +868,7 @@
                     </dc:element>
                   </dc:for-each>
                 </waterlevels>
-            </dc:group>
+            </dc:call-macro>
           </waterlevels>
         </dc:if>
       </dc:filter>
@@ -899,7 +899,7 @@
         $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer')">
         <dc:if test="dc:has-result()">
           <bed_quality_bed>
-            <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)">
+            <dc:call-macro name="collection-group">
               <quality-bed description="{dc:group-key()}">
                 <dc:for-each>
                   <dc:element name="${facet_name}">
@@ -912,7 +912,7 @@
                   </dc:element>
                 </dc:for-each>
               </quality-bed>
-            </dc:group>
+            </dc:call-macro>
           </bed_quality_bed>
         </dc:if>
       </dc:filter>


More information about the Dive4elements-commits mailing list