annotate artifacts/doc/conf/themes/second/sq-relation.xml @ 5890:6ea004d51203

Datacage: Introduced <dc:group epxr="xpath" type="type"> ... </dc:group> and XPath function dc:group-key(). This splits the current result set into groups formed by expr. The type defaults to string. Afterwards all these groups are iterated by there natural order. The dc:group-key() gives access to the result of the grouping expression that forms a group. Say, you have a result set like this: name | description -----+------------ a | foo a | bar b | baz b | bla c | blub you can use: <dc:group expr="$name"> <group name="{dc:group-key()}"> <dc:for-each> <description value="{$description}"/> </dc:for-each> </group> </dc:group> to create: <group name="a"> <description name="foo"/> <description name="bar"/> </group> <group name="b"> <description name="baz"/> <description name="bla"/> </group> <group name="c"> <description name="blub"/> </group>
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 02 May 2013 20:52:18 +0200
parents 5aa05a7a34b7
children
rev   line source
4682
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
2 <!--themegroup name="default"-->
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
3 <theme name="SQMeasurements">
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
4 <inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
5 <inherit from="Points" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
6 </inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
7 <fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
8 <field name="pointcolor" type="Color" default="0, 153, 255" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
9 </fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
10 </theme>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
11
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
12 <theme name="SQOutliers">
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
13 <inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
14 <inherit from="Points" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
15 </inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
16 <fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
17 <field name="pointcolor" type="Color" default="204, 0, 0" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
18 </fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
19 </theme>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
20
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
21 <theme name="SQCurve">
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
22 <inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
23 <inherit from="Lines" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
24 <inherit from="Points" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
25 <inherit from="Label" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
26 </inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
27 <fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
28 <field name="showpoints" type="boolean" display="Punkte anzeigen"
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
29 default="false" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
30 <field name="showpointlabel" type="boolean"
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
31 display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
32 <field name="linecolor" type="Color" default="0, 0, 0" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
33 </fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
34 </theme>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
35 <!--/themegroup-->

http://dive4elements.wald.intevation.org