view flys-artifacts/doc/conf/themes/second/duration.xml @ 4737:718adea968e2

Add <dc:variable name="variable" expr="xpath"/> construct to datacage language. Each time during traversal of the template this element is found a variable called 'variable' is set to the result of the the evaluation of the XPpath 'xpath'. Example: <dc:variable name="x" expr="$x + 1"/> <!-- Assign x+1 to x -->
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 02 Jan 2013 14:05:21 +0100
parents dfac28805d79
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<!--themegroup name="default"-->

    <theme name="DurationCurve">
        <inherits>
            <inherit from="Lines" />
            <inherit from="Points" />
            <inherit from="Label" />
            <inherit from="MinMaxPoints" />
        </inherits>
        <fields>
            <field name="showpoints" type="boolean" display="Punkte anzeigen"
                default="false" />
            <field name="linesize" type="int" display="Liniendicke"
                default="2" />
            <field name="showpointlabel" type="boolean"
                display="Punktbeschriftung anzeigen" default="false"
                hints="hidden"/>
        </fields>
    </theme>

    <theme name="DurationCurveW">
        <inherits>
            <inherit from="DurationCurve" />
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe"
                default="0,51,204" />
        </fields>
    </theme>

    <theme name="DurationCurveQ">
        <inherits>
            <inherit from="DurationCurve" />
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe"
                default="0,204,0" />
        </fields>
    </theme>
<!--/themegroup-->

http://dive4elements.wald.intevation.org