Mercurial > dive4elements > river
view flys-artifacts/doc/conf/artifacts/gaugedischargecurve.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 | 526fd442e0e5 |
children | a2bdc0f524e8 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <artifact name="gaugedischargecurve"> <states> <state id="state.gaugedischargecurve.static" description="state.gaugedischargecurve.static" state="de.intevation.flys.artifacts.states.StaticState"> <data name="river" type="String" /> <data name="reference_gauge" type="Long" /> <data name="gauge_name" type="String" /> <outputmodes> <outputmode name="discharge_curve" description="output.discharge_curve" type="chart"> <facets> <facet name="gauge_discharge_curve"/> </facets> </outputmode> <outputmode name="computed_dischargecurve_at_export" description="output.computed_dischargecurve_at_export" mime-type="text/plain" type="export"> <facets> <facet name="at" description="facet.gauge_discharge_curve_export.at"/> </facets> </outputmode> <outputmode name="computed_dischargecurve_export" description="output.computed_dischargecurve_export" mime-type="text/plain" type="export"> <facets> <facet name="csv" description="facet.computed_dischargecurve_export.csv" /> <facet name="pdf" description="facet.computed_dischargecurve_export.pdf" /> </facets> </outputmode> </outputmodes> </state> </states> </artifact>