comparison flys-artifacts/doc/conf/meta-data.xml @ 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 b536c0e7abd7
children c59ba0eade8e
comparison
equal deleted inserted replaced
5745:ed9d7e360658 5746:1dab240f9f55
159 SELECT id AS prot_id, 159 SELECT id AS prot_id,
160 description AS prot_description 160 description AS prot_description
161 FROM wsts WHERE kind = 1 AND river_id = ${river_id} 161 FROM wsts WHERE kind = 1 AND river_id = ${river_id}
162 </dc:statement> 162 </dc:statement>
163 <dc:for-each> 163 <dc:for-each>
164 <additional name="{$prot_description}"> 164 <additional name="{dc:replace($prot_description, 'Zus.Längsschnitte/', '')}">
165 <dc:context> 165 <dc:context>
166 <dc:call-macro name="SQL-wst_columns_statement"/> 166 <dc:call-macro name="SQL-wst_columns_statement"/>
167 <dc:for-each> 167 <dc:for-each>
168 <column name="{$prot_column_name}" 168 <column name="{$prot_column_name}"
169 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}" 169 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}"
381 SELECT id AS prot_id, 381 SELECT id AS prot_id,
382 description AS prot_description 382 description AS prot_description
383 FROM wsts WHERE kind = 4 AND river_id = ${river_id} 383 FROM wsts WHERE kind = 4 AND river_id = ${river_id}
384 </dc:statement> 384 </dc:statement>
385 <dc:for-each> 385 <dc:for-each>
386 <heightmark name="{$prot_description}"> 386 <heightmark name="{dc:replace($prot_description, 'HW-Marken/', '')}">
387 <dc:context> 387 <dc:context>
388 <dc:call-macro name="SQL-wst_columns_statement"/> 388 <dc:call-macro name="SQL-wst_columns_statement"/>
389 <dc:for-each> 389 <dc:for-each>
390 <column name="{$prot_column_name}" 390 <column name="{$prot_column_name}"
391 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}" 391 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}"
408 SELECT id AS prot_id, 408 SELECT id AS prot_id,
409 description AS prot_description 409 description AS prot_description
410 FROM wsts WHERE kind = 4 AND river_id = ${river_id} 410 FROM wsts WHERE kind = 4 AND river_id = ${river_id}
411 </dc:statement> 411 </dc:statement>
412 <dc:for-each> 412 <dc:for-each>
413 <heightmark name="{$prot_description}"><dc:context> 413 <heightmark name="{$prot_description}">
414 <dc:context>
414 <dc:call-macro name="SQL-wst_columns_statement"/> 415 <dc:call-macro name="SQL-wst_columns_statement"/>
415 <dc:for-each> 416 <dc:for-each>
416 <column name="{$prot_column_name}" 417 <column name="{$prot_column_name}"
417 ids="heightmarks_annotations-wstv-{$prot_rel_pos}-{$prot_id}" 418 ids="heightmarks_annotations-wstv-{$prot_rel_pos}-{$prot_id}"
418 factory="wqinterpol" 419 factory="wqinterpol"
464 SELECT id AS prot_id, 465 SELECT id AS prot_id,
465 description AS prot_description 466 description AS prot_description
466 FROM wsts WHERE kind = 5 AND river_id = ${river_id} 467 FROM wsts WHERE kind = 5 AND river_id = ${river_id}
467 </dc:statement> 468 </dc:statement>
468 <dc:for-each> 469 <dc:for-each>
469 <flood_protection name="{$prot_description}" 470 <flood_protection name="{dc:replace($prot_description, 'HW-Schutzanlagen/', '')}"
470 db-id="{$prot_id}" 471 db-id="{$prot_id}"
471 factory="staticwkms"> 472 factory="staticwkms">
472 <dc:context> 473 <dc:context>
473 <dc:call-macro name="SQL-wst_columns_statement"/> 474 <dc:call-macro name="SQL-wst_columns_statement"/>
474 <dc:for-each> 475 <dc:for-each>

http://dive4elements.wald.intevation.org