Mercurial > dive4elements > river
view flys-artifacts/doc/conf/artifacts/annotation.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 | 7d01b6885e4e |
children | a2bdc0f524e8 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <artifact name="annotation"> <states> <state id="state.annotation.river" description="state.annotation.river" state="de.intevation.flys.artifacts.states.AnnotationRiverState"> <outputmodes> <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png" type="chart"> <facets> <facet name="longitudinal_section.annotations" description="facet.longitudinal_section.annotations" /> </facets> </outputmode> </outputmodes> </state> </states> </artifact>