Mercurial > dive4elements > river
view flys-artifacts/doc/conf/themes/second/reference.xml @ 4890:bf38ea4cb0f7
Added bodies to macros. Use the bodies of <dc:call-macro><body></dc:call-macro> as <dc:macro-body/> in tthe macro. Example:
<dc:macro name="greet"><hello><dc:macro-body/></hello></dc:macro>
<dc:call-macro name="greet"><planet>Earth</planet></dc:call-macro>
Result:
<hello><panet>Earth</planet></hello>
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 28 Jan 2013 18:55:55 +0100 |
parents | dfac28805d79 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!--themegroup name="default"--> <theme name="ReferenceCurve"> <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="showpointlabel" type="boolean" display="Punktbeschriftung anzeigen" default="false" hints="hidden" /> <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204" /> </fields> </theme> <theme name="ReferenceCurveNormalized"> <inherits> <inherit from="ReferenceCurve" /> </inherits> <fields> </fields> </theme> <!--/themegroup-->