Mercurial > dive4elements > river
annotate artifacts/doc/datacage_ref_de.rst @ 7316:52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 14 Oct 2013 14:40:51 +0200 |
parents | 8498fdd71a1e |
children | 00b17e77c2e8 |
rev | line source |
---|---|
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 ========= |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 Datenkorb |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
3 ========= |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
4 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
5 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
6 .. contents:: Inhalt |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
7 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
8 Übersicht |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
9 --------- |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
10 |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
11 Daten |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
12 ----- |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
13 Im Datenkorb stehen zwei Arten von Daten zur Auswertung zur Verfügung. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
14 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
15 ``Datensätze`` |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
16 ~~~~~~~~~~~~~~ |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
17 Datensätze sind Tabellen mit benannten Spalten. Sie werden von Datenquellen |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
18 erzeugt und in einem Stapel verwaltet. Die konkreten Werte stehen erst durch |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
19 Auffaltung als Variablen zur Verfügung. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
20 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
21 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
22 ``Variablen`` |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
23 ~~~~~~~~~~~~~ |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
24 Variablen sind die Werte, die aktuell zur Auswertung zur Verfügung stehen. Sie haben |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
25 einen Namen und einen Typ (String, Zahl, durch Datenquelle bestimmt). |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
26 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
27 Textersatz |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
28 ---------- |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
29 Um die Wertebelegungen in das Ausgabedokument schreiben zu kann an entsprechenden |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
30 Stellen eine String-Interpolation durchgeführt werden. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
31 Hier finden zwei Arten von Textersatz ihren Einsatz. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
32 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
33 ``${}-Ersetzungen`` |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
34 ~~~~~~~~~~~~~~~~~~~ |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
35 Die ältere Variante. Innerhalb von Strings werden hier nur Variablen aufgelöst. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
36 Beispiel: "**Hallo, ${planet}!**" wird bei planet = 'Welt' zu "**Hallo, Welt!**". |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
37 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
38 ``{$}-Ersetzungen`` |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
39 ~~~~~~~~~~~~~~~~~~~ |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
40 Die neuere Variante, allerdings noch nicht komplett an allen Stellen einsatzfähig. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
41 Innerhalb der geschweiften Klammern können beliebige XPath-Ausdrück stehen, die |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
42 zu Strings evaluiert werden. Dies orientiert sich an den String-Auswertungen in XSLT. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
43 "**{ concat($greet, ', ', $planet, '!') }**" wird bei gesetzten Variablen greet = Hallo |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
44 und planet = "Welt" zu **Hallo, Welt!** ausgewertet. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
45 |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
46 Datenkorb-Elemente |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
47 ------------------ |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
48 |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
49 Datensätze erzeugen |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
50 ~~~~~~~~~~~~~~~~~~~ |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
51 |
7315
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
52 ``dc:context`` Aufspannen eines Gültigkeitsbereiches eines Datenbankdatensatz |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
53 ............................................................................. |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
54 |
7315
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
55 .. code:: xml |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
56 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
57 <dc:context connection="Verbindung"> |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
58 ... |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
59 </dc:element> |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
60 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
61 Spannt einen Gültigkeitsbereich für einen Datensatz auf, der aus der Datenbank |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
62 kommt. Die adressierte Datenbank wird über das optionale Attribut 'connection' |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
63 bestimmt. Zur Zeit sind drei Datenbanken angebunden: |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
64 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
65 - **user**: Die Index-Datenbank des Artefakt-Servers. Hierüber stehen Meta-Informationen |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
66 zu alten Berechnungen zur Verfügung. |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
67 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
68 - **system**: Die FLYS-Datenbank mit den hydrologischen, morphologische und geodätischen |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
69 Daten. |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
70 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
71 - **seddb**: Die Sediment-Datenbank. |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
72 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
73 In einem `<dc:context>`-Element wird zwingend ein `<dc:statement>`-Element erwartet, |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
74 um einen Datensatz aus der Datenbank zu holen. Dieser Datensatz steht dann innerhalb des |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
75 `<dc:context>`-Elementes ein oder mehrfach zur Verfügung. Innerhalb eines |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
76 `<dc:context>`-Elementes können weitere `<dc:context>`-Elemente eingeschachtelt werden. |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
77 Ist kein 'connection'-Attribut vorhanden, wird die Datenbank-Verbindung des umgebenen |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
78 Kontextes weiterbenutzt. Initial wird je nach Aufrufart der Datenkorbs entweder |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
79 der **user** oder **system**-Kontext angenommen. Dies richtet sich danach, ob in |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
80 der Aufrufumgebung eine Artefakt gesetzt wird oder nicht. Im ersten Fall wird |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
81 angenommen, dass es sich um einen Ladevorgang für zusätzliche Daten handelt, die |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
82 auch alte Berechnungen mit einschliesst. |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
83 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
84 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
85 ``dc:statement`` Holen eines Datensatzes aus einer Datenbank |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
86 ............................................................ |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
87 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
88 .. code:: xml |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
89 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
90 <dc:statement> |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
91 SQL-Select-Statement. |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
92 </dc:element> |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
93 |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
94 Mittels eines SQL-Select-Statements werden in einem `<dc:context>`-Elementes aus |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
95 der dort definierten Datenbank geholt. Die Spaltennamen der Projektion des SQL-Statements |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
96 werden übernommen und später beim Auffalten des Datensatzes benutzt. |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
97 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
98 ``dc:container-context`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
99 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
100 ``dc:properties`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
101 |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
102 ``dc:virtual-column`` **TODO** |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
103 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
104 Datensätze einschränken |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
105 ~~~~~~~~~~~~~~~~~~~~~~~ |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
106 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
107 ``dc:filter`` **TODO** |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
108 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
109 ``dc:group`` **TODO** |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
110 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
111 Datensätze auffalten |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
112 ~~~~~~~~~~~~~~~~~~~~ |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
113 |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
114 ``dc:for-each`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
115 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
116 ``dc:iterate`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
117 |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
118 Makros |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
119 ~~~~~~ |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
120 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
121 ``dc:macro`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
122 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
123 ``dc:macro-body`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
124 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
125 ``dc:call-macro`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
126 |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
127 Sonstige Elemente |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
128 ~~~~~~~~~~~~~~~~~ |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
129 |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
130 ``dc:element`` Hinzufügen neuer Elemente in der Ausgabe |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
131 ....................................................... |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
132 |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
133 .. code:: xml |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
134 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
135 <dc:element name="Name"> |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
136 ... |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
137 </dc:element> |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
138 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
139 Erzeugt ein Element namens Name. Für den Namen gelten die `${}-Ersetzungen`_. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
140 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
141 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
142 ``dc:attribute`` Hinzufügen neuer Attribute zum umgebenden Ausgabeelement |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
143 ......................................................................... |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
144 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
145 .. code:: xml |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
146 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
147 <dc:attribute name="Name" value="Wert"/> |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
148 |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
149 Fügt dem umgebenden Ausgabeelement ein weiteres Attribut namens Name mit dem |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
150 Wert von Wert hinzu. Für Namen und Wert gelten die `${}-Ersetzungen`_. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
151 Der Einsatz dieses Konstrukts findet häufig im Zusammenhang mit dc:element |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
152 seinen Einsatz, wenn es ein Ausgabeelement vollständig aus Variablenbelegungen |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
153 erstellt werden soll. |
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
154 |
7315
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
155 ``dc:comment`` Kommentare im Beschreibungsdokument |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
156 .................................................. |
7316
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
157 |
7315
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
158 .. code:: xml |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
159 |
7315
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
160 <dc:comment> |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
161 ... |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
162 </dc:comment> |
7314
53d1dd441867
Datacage ref doc: More structure. Explain text interpolation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7255
diff
changeset
|
163 |
7315
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
164 Ein Kommentar auf Ebene des Beschreibungsdokumentes, das keinerlei Ausgabe |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
165 im Ausgabedokument erzeugt. Eingeschachtelte Elemente werden ebenfalls nicht ausgewertet. |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
166 Im Gegensatz dazu werden die XML-typischen **<!-- Kommetare -->** in das Ausgabedokument übernommen! |
8498fdd71a1e
Dataage ref doc: Explain dc:context, dc:comment
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7314
diff
changeset
|
167 |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
168 |
7316
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
169 ``dc:message`` Ausgabe auf die Diagnoseausgabe (Log) |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
170 .................................................... |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
171 |
7316
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
172 .. code:: xml |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
173 |
7316
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
174 <dc:message> |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
175 Text für die Diagnose. |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
176 </dc:message> |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
177 |
7316
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
178 Gibt den Text innerhalb des Elementes aus Ausgabe im Log aus. Dies dient in erster Linie |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
179 dem Nachvollziehen von Aufrufen innerhalb des Datenkorbdokumentes. Für den Text gelten |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
180 die `{$}-Ersetzungen`_. |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
181 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
182 ``dc:variable`` Erzeugung einer kontext-lokalen Variablen |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
183 ......................................................... |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
184 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
185 .. code:: xml |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
186 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
187 <dc:variable name="Name" type="Typ" expr="XPath-Ausdruck"/> |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
188 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
189 Legt im aktuellen Kontext eine lokale Variable namens Name an. Diese hat den |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
190 Typ Typ und entsteht durch Auswertung des XPath-Ausdruck expr. Der Typ |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
191 ist optional. Wird dieser nicht gesetzt, wird das Ergebnis als String interpretiert. |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
192 Alternativ können hier die Werte 'number' für Zahlen, 'bool' für Boolean-Werte |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
193 benutzt werden. Für den Namen und den Typ gelten die `${}-Ersetzungen`_. |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
194 Wird der aktuellen `dc:context` verlassen, ist diese Variable nicht mehr definiert. |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
195 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
196 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
197 ``dc:convert`` kontext-lokale Konvertierung von Variablen |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
198 ......................................................... |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
199 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
200 .. code:: xml |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
201 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
202 <dc:convert name="Name" type="Typ"/> |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
203 |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
204 Konvertiert die Variable namens Name für die Gültigkeit des aktuellen Kontextes in |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
205 einen anderen Typ. Für Name und Typ gelten die `${}-Ersetzungen`_. Für die |
52bc38e6bbe1
Datacage ref doc: Explain dc:variable and dc:convert.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7315
diff
changeset
|
206 Typen gilt das gleiche wie für die Typen von `dc:variable`. |
7255
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
207 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
208 Bedingte Ausführung |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
209 ~~~~~~~~~~~~~~~~~~~ |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
210 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
211 ``<dc:if>`` Einfaches Wenn-Dann ohne Sonst-Fall |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
212 ............................................... |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
213 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
214 .. code:: xml |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
215 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
216 <dc:if test="XPath-Ausdruck"> |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
217 ... |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
218 </dc:if> |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
219 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
220 Der innere Teil wird nur dann betreten, wenn der XPath-Ausdruck zu |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
221 logisch wahr evaluiert wird. Dieses Konstrukt kennt keinen alternativen |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
222 Pfad, der betreten wird, falls der Ausdruck zu logisch falsch ausgewertet |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
223 wird. Wird dies benötigt, muss man ``<dc:choose>`` benutzen. |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
224 ``<dc:if>`` ist in Symmetrie zu ``<xsl:if>`` von XSLT entworfen worden. |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
225 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
226 ``<dc:choose>`` Ketten von Wenn-Dann-Ausdrücken |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
227 ............................................... |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
228 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
229 .. code:: xml |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
230 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
231 <dc:choose> |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
232 <dc:when test="XPath-Ausdruck 1"> ... </dc:when> |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
233 <dc:when test="XPath-Ausdruck 2"> ... </dc:when> |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
234 ... |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
235 <dc:otherwise> ... </dc:otherwise> |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
236 </dc:choose> |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
237 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
238 Es werden der Reihe nach von oben nach unter die ``test``-XPath-Ausdrücke der ``dc:when``-Elemente ausgewertet. Evaluiert ein Ausdruck zu logisch wahr, wird der innere Teil des entsprechenden ``<dc:when>``-Elements betreten. Die verbliebenen |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
239 ``<dc:when>``- und ``<dc:otherwise>``-Elemente werden dann ignoriert. Evaluiert |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
240 keiner der ``test``-Ausdrücke zu wahr, wird der innere Teil des |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
241 ``<dc:otherwise>``-Elements betreten. |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
242 ``<dc:choose>`` ist in Symmetrie zu ``<xsl:choose>`` von XSLT entworfen worden. |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
243 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
244 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
245 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
246 Datenkorb-Funktionen |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
247 -------------------- |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
248 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
249 ``dc:contains`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
250 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
251 ``dc:fromValue`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
252 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
253 ``dc:toValue`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
254 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
255 ``dc:replace`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
256 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
257 ``dc:replace-all`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
258 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
259 ``dc:has-result`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
260 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
261 ``dc:group-key`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
262 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
263 ``dc:date-format`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
264 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
265 ``dc:dump-variables`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
266 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
267 ``dc:get`` **TODO** |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
268 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
269 |
5783bd29de8a
First draft of a german reference document for datacage elements and functions written in reStructuredText. Lots of TODOs.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
270 |