comparison artifacts/doc/conf/meta-data.xml @ 7549:783b295c35d3

Previous fix for flys/issue1675 was broken. :-/
author Sascha L. Teichmann <teichmann@intevation.de>
date Tue, 12 Nov 2013 16:54:18 +0100
parents caac73208745
children 85b44b0e6579
comparison
equal deleted inserted replaced
7548:caac73208745 7549:783b295c35d3
1613 <dc:variable name="year_from" expr=" 1613 <dc:variable name="year_from" expr="
1614 dc:min-number( 1614 dc:min-number(
1615 dc:find-all( 1615 dc:find-all(
1616 '\d{4}', 1616 '\d{4}',
1617 dc:replace-all( 1617 dc:replace-all(
1618 concat($diffids, 'X0000'), 1618 $diffids,
1619 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" 1619 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))"
1620 type="number"/> 1620 type="number"/>
1621 <dc:if test="$year_from = dc:min-number('x')">
1622 <dc:variable name="year_from" expr="0" type="number"/>
1623 </dc:if>
1621 <dc:variable name="year_to" expr=" 1624 <dc:variable name="year_to" expr="
1622 dc:max-number( 1625 dc:max-number(
1623 dc:find-all( 1626 dc:find-all(
1624 '\d{4}', 1627 '\d{4}',
1625 dc:replace-all( 1628 dc:replace-all(
1626 concat($diffids, 'X9999'), 1629 $diffids,
1627 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" 1630 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))"
1628 type="number"/> 1631 type="number"/>
1632 <dc:if test="$year_to = dc:max-number('x')">
1633 <dc:variable name="year_to" expr="9999" type="number"/>
1634 </dc:if>
1629 </dc:when> 1635 </dc:when>
1630 <dc:otherwise> 1636 <dc:otherwise>
1631 <dc:comment>Just show everything</dc:comment> 1637 <dc:comment>Just show everything</dc:comment>
1632 <dc:variable name="year_to" expr="9999" type="number"/> 1638 <dc:variable name="year_to" expr="9999" type="number"/>
1633 <dc:variable name="year_from" expr="0" type="number"/> 1639 <dc:variable name="year_from" expr="0" type="number"/>

http://dive4elements.wald.intevation.org