Mercurial > dive4elements > river
comparison flys-artifacts/src/main/resources/metadata/template.xml @ 371:dfbb3d50b0bd
Added meta service stub. TODO: Add meta data builder.
flys-artifacts/trunk@1780 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 29 Apr 2011 14:39:42 +0000 |
parents | |
children | 349c9bcdd917 |
comparison
equal
deleted
inserted
replaced
370:4a8d934e745f | 371:dfbb3d50b0bd |
---|---|
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage"> | |
3 <DATENKORB> | |
4 <GEWAESSER> | |
5 <dc:context> | |
6 <dc:statement> | |
7 SELECT id AS river_id, name as river_name FROM rivers | |
8 </dc:statement> | |
9 <dc:elements> | |
10 <dc:element name="${river_name}"> | |
11 <WSTS> | |
12 <dc:context> | |
13 <dc:statement> | |
14 SELECT id AS wst_id, | |
15 kind AS wst_kind, | |
16 description AS wst_description | |
17 FROM wsts | |
18 WHERE river_id = ${river_id} | |
19 </dc:statement> | |
20 <dc:elements> | |
21 <WST> | |
22 <dc:attribute name="TYP" value="${wst_kind}"/> | |
23 <dc:attribute name="ID" value="${wst_id}"/> | |
24 <BESCHREIBUNG><dc:text>Erzeugt aus der Datei: ${wst_description}</dc:text></BESCHREIBUNG> | |
25 <dc:context> | |
26 <dc:statement> | |
27 SELECT id AS column_id, | |
28 name AS column_name | |
29 FROM wst_columns | |
30 WHERE wst_id = ${wst_id} | |
31 ORDER BY position | |
32 </dc:statement> | |
33 <dc:elements><SPALTE><dc:attribute name="ID" value="${column_id}"/><dc:attribute name="NAME" value="${column_name}"/></SPALTE> | |
34 </dc:elements> | |
35 </dc:context> | |
36 </WST> | |
37 </dc:elements> | |
38 </dc:context> | |
39 </WSTS> | |
40 </dc:element> | |
41 </dc:elements> | |
42 </dc:context> | |
43 </GEWAESSER> | |
44 </DATENKORB> | |
45 </dc:template> | |
46 |