annotate 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
rev   line source
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage">
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 <DATENKORB>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 <GEWAESSER>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5 <dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 <dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 SELECT id AS river_id, name as river_name FROM rivers
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
8 </dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
9 <dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10 <dc:element name="${river_name}">
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
11 <WSTS>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
12 <dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
13 <dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
14 SELECT id AS wst_id,
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
15 kind AS wst_kind,
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
16 description AS wst_description
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
17 FROM wsts
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
18 WHERE river_id = ${river_id}
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
19 </dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
20 <dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
21 <WST>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
22 <dc:attribute name="TYP" value="${wst_kind}"/>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
23 <dc:attribute name="ID" value="${wst_id}"/>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
24 <BESCHREIBUNG><dc:text>Erzeugt aus der Datei: ${wst_description}</dc:text></BESCHREIBUNG>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
25 <dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
26 <dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
27 SELECT id AS column_id,
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
28 name AS column_name
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
29 FROM wst_columns
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
30 WHERE wst_id = ${wst_id}
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
31 ORDER BY position
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
32 </dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
33 <dc:elements><SPALTE><dc:attribute name="ID" value="${column_id}"/><dc:attribute name="NAME" value="${column_name}"/></SPALTE>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
34 </dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
35 </dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
36 </WST>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
37 </dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
38 </dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
39 </WSTS>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
40 </dc:element>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
41 </dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
42 </dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
43 </GEWAESSER>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
44 </DATENKORB>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
45 </dc:template>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
46

http://dive4elements.wald.intevation.org