comparison artifacts/doc/conf/meta-data.xml @ 6073:f0417a8e4c39

meta-data.xml: dc:has-result()-guard additionals and basedata.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 23 May 2013 11:59:01 +0200
parents 8320eb8ed8c8
children b121b865907d
comparison
equal deleted inserted replaced
6072:8320eb8ed8c8 6073:f0417a8e4c39
1602 </dc:if> 1602 </dc:if>
1603 </dc:context> 1603 </dc:context>
1604 </dc:macro> 1604 </dc:macro>
1605 1605
1606 <dc:macro name="basedata_0_macro"> 1606 <dc:macro name="basedata_0_macro">
1607 <basedata> 1607 <dc:filter expr="$kind = 0">
1608 <dc:filter expr="$kind = 0"> 1608 <dc:if test="dc:has-result()">
1609 <dc:group expr="$wst_description"> 1609 <basedata>
1610 <basedata name="{dc:group-key()}"> 1610 <dc:group expr="$wst_description">
1611 <dc:for-each> 1611 <basedata name="{dc:group-key()}">
1612 <dc:macro-body/> 1612 <dc:for-each>
1613 </dc:for-each> 1613 <dc:macro-body/>
1614 </basedata> 1614 </dc:for-each>
1615 </dc:group> 1615 </basedata>
1616 </dc:filter> 1616 </dc:group>
1617 </basedata> 1617 </basedata>
1618 </dc:if>
1619 </dc:filter>
1618 </dc:macro> 1620 </dc:macro>
1619 1621
1620 <dc:macro name="basedata_0"> 1622 <dc:macro name="basedata_0">
1621 <dc:call-macro name="basedata_0_macro"> 1623 <dc:call-macro name="basedata_0_macro">
1622 <column name="{$wst_column_name}" 1624 <column name="{$wst_column_name}"
1634 info="{$info} [km {$deffrom} - {$defto}]"/> 1636 info="{$info} [km {$deffrom} - {$defto}]"/>
1635 </dc:call-macro> 1637 </dc:call-macro>
1636 </dc:macro> 1638 </dc:macro>
1637 1639
1638 <dc:macro name="basedata_1_additionals_macro"> 1640 <dc:macro name="basedata_1_additionals_macro">
1639 <additionals> 1641 <dc:filter expr="$kind=1">
1640 <dc:filter expr="$kind=1"> 1642 <dc:if test="dc:has-result()">
1641 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')"> 1643 <additionals>
1642 <additional name="{dc:group-key()}"> 1644 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')">
1643 <dc:macro-body/> 1645 <additional name="{dc:group-key()}">
1644 </additional> 1646 <dc:macro-body/>
1645 </dc:group> 1647 </additional>
1646 </dc:filter> 1648 </dc:group>
1647 </additionals> 1649 </additionals>
1650 </dc:if>
1651 </dc:filter>
1648 </dc:macro> 1652 </dc:macro>
1649 1653
1650 <dc:macro name="basedata_1_additionals"> 1654 <dc:macro name="basedata_1_additionals">
1651 <dc:call-macro name="basedata_1_additionals_macro"> 1655 <dc:call-macro name="basedata_1_additionals_macro">
1652 <column name="{$wst_column_name}" 1656 <column name="{$wst_column_name}"

http://dive4elements.wald.intevation.org