Mercurial > dive4elements > river
view flys-artifacts/src/main/resources/metadata/template.xml @ 392:72177020db92
Improved the transition model and added classes to enable the WINFO artifact to create computed discharge curves - NOTE: each of the new classes is just a stub.
flys-artifacts/trunk@1817 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 04 May 2011 07:48:39 +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>