comparison flys-artifacts/doc/conf/meta-data.xml @ 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 ccda0a49a97f
children bf319ba67212
comparison
equal deleted inserted replaced
5561:f8a4ee86d276 5562:7be6785ad7b9
215 description AS prot_description 215 description AS prot_description
216 FROM wsts WHERE kind = 2 AND river_id = ${river_id} 216 FROM wsts WHERE kind = 2 AND river_id = ${river_id}
217 ORDER BY prot_description 217 ORDER BY prot_description
218 </dc:statement> 218 </dc:statement>
219 <dc:for-each> 219 <dc:for-each>
220 <fixation name="{$prot_description}"> 220 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}">
221 <!--dc:attribute name="ids" value="fixations-wstv-A-${prot_id}"/--><dc:context> 221 <!--dc:attribute name="ids" value="fixations-wstv-A-${prot_id}"/--><dc:context>
222 <dc:call-macro name="SQL-wst_columns_statement"/> 222 <dc:call-macro name="SQL-wst_columns_statement"/>
223 <dc:for-each> 223 <dc:for-each>
224 <column name="{$prot_column_name}" 224 <column name="{$prot_column_name}"
225 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" 225 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}"
243 description AS prot_description 243 description AS prot_description
244 FROM wsts WHERE kind = 2 AND river_id = ${river_id} 244 FROM wsts WHERE kind = 2 AND river_id = ${river_id}
245 ORDER BY prot_description 245 ORDER BY prot_description
246 </dc:statement> 246 </dc:statement>
247 <dc:for-each> 247 <dc:for-each>
248 <fixation name="{$prot_description}"> 248 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}">
249 <dc:context> 249 <dc:context>
250 <dc:call-macro name="SQL-wst_columns_statement"/> 250 <dc:call-macro name="SQL-wst_columns_statement"/>
251 <dc:for-each> 251 <dc:for-each>
252 <column name="{$prot_column_name}" 252 <column name="{$prot_column_name}"
253 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" 253 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}"
271 description AS prot_description 271 description AS prot_description
272 FROM wsts WHERE kind = 2 AND river_id = ${river_id} 272 FROM wsts WHERE kind = 2 AND river_id = ${river_id}
273 ORDER BY prot_description 273 ORDER BY prot_description
274 </dc:statement> 274 </dc:statement>
275 <dc:for-each> 275 <dc:for-each>
276 <fixation name="{$prot_description}"> 276 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}">
277 <dc:context> 277 <dc:context>
278 <dc:call-macro name="SQL-wst_columns_statement"/> 278 <dc:call-macro name="SQL-wst_columns_statement"/>
279 <dc:for-each> 279 <dc:for-each>
280 <column name="{$prot_column_name}" 280 <column name="{$prot_column_name}"
281 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" 281 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}"
299 description AS prot_description 299 description AS prot_description
300 FROM wsts WHERE kind = 2 AND river_id = ${river_id} 300 FROM wsts WHERE kind = 2 AND river_id = ${river_id}
301 ORDER BY prot_description 301 ORDER BY prot_description
302 </dc:statement> 302 </dc:statement>
303 <dc:for-each> 303 <dc:for-each>
304 <relativepoint name="{$prot_description}"> 304 <relativepoint name="{dc:replace($prot_description, 'Fixierungen/', '')}">
305 <dc:context> 305 <dc:context>
306 <dc:call-macro name="SQL-wst_columns_statement"/> 306 <dc:call-macro name="SQL-wst_columns_statement"/>
307 <dc:for-each> 307 <dc:for-each>
308 <column name="{$prot_column_name}" 308 <column name="{$prot_column_name}"
309 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" 309 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}"

http://dive4elements.wald.intevation.org