Mercurial > dive4elements > river
annotate .hgignore @ 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 | 764c21005f33 |
children | e1c30527c104 |
rev | line source |
---|---|
3990
31aaabe34774
Added initial .hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 syntax: regexp |
5839
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
2 artifacts/target # maven output |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
3 artifacts/\.classpath # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
4 artifacts/\.project # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
5 artifacts/\.settings # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
6 artifacts/test-output # eclipse junit/testng plugin output |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
7 backend/target # maven output |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
8 backend/\.classpath # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
9 backend/\.project # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
10 backend/\.settings # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
11 backend/test-output # eclipse junit/testng plugin output |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
12 gwt-client/target # maven output |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
13 gwt-client/\.classpath # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
14 gwt-client/\.project # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
15 gwt-client/\.settings # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
16 gwt-client/test-output # eclipse junit/testng plugin output |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
17 gwt-client/src/main/webapp/OpenLayers-2.11 |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
18 etl/target # maven output |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
19 etl/\.classpath # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
20 etl/\.project # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
21 etl/\.settings # eclipse |
764c21005f33
Adjusted hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
4134
diff
changeset
|
22 etl/test-output # eclipse junit/testng plugin output |
3990
31aaabe34774
Added initial .hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
23 \.swp |
31aaabe34774
Added initial .hgignore
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
24 \.swo |