Mercurial > dive4elements > river
view flys-artifacts/src/main/resources/metadata/template.xml @ 386:da038768330a
Added i18n strings for the location selection.
flys-artifacts/trunk@1803 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 03 May 2011 13:15:56 +0000 |
parents | dfbb3d50b0bd |
children | 349c9bcdd917 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage"> <DATENKORB> <GEWAESSER> <dc:context> <dc:statement> SELECT id AS river_id, name as river_name FROM rivers </dc:statement> <dc:elements> <dc:element name="${river_name}"> <WSTS> <dc:context> <dc:statement> SELECT id AS wst_id, kind AS wst_kind, description AS wst_description FROM wsts WHERE river_id = ${river_id} </dc:statement> <dc:elements> <WST> <dc:attribute name="TYP" value="${wst_kind}"/> <dc:attribute name="ID" value="${wst_id}"/> <BESCHREIBUNG><dc:text>Erzeugt aus der Datei: ${wst_description}</dc:text></BESCHREIBUNG> <dc:context> <dc:statement> SELECT id AS column_id, name AS column_name FROM wst_columns WHERE wst_id = ${wst_id} ORDER BY position </dc:statement> <dc:elements><SPALTE><dc:attribute name="ID" value="${column_id}"/><dc:attribute name="NAME" value="${column_name}"/></SPALTE> </dc:elements> </dc:context> </WST> </dc:elements> </dc:context> </WSTS> </dc:element> </dc:elements> </dc:context> </GEWAESSER> </DATENKORB> </dc:template>