annotate artifacts/doc/conf/themes/second/reference.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="ReferenceCurve">
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="Lines" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
6 <inherit from="Points" />
4698
dfac28805d79 Fixed and updated theme configurations.
Raimund Renkert <rrenkert@intevation.de>
parents: 4682
diff changeset
7 <inherit from="Label" />
4682
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
8 <inherit from="MinMaxPoints" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
9 </inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
10 <fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
11 <field name="showpoints" type="boolean" display="Punkte anzeigen"
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
12 default="false" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
13 <field name="showpointlabel" type="boolean"
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
14 display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
15 <field name="linecolor" type="Color" display="Linienfarbe"
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
16 default="204, 204, 204" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
17 </fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
18 </theme>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
19
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
20 <theme name="ReferenceCurveNormalized">
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
21 <inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
22 <inherit from="ReferenceCurve" />
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
23 </inherits>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
24 <fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
25 </fields>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
26 </theme>
1c1effe530bc Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
27 <!--/themegroup-->

http://dive4elements.wald.intevation.org