metafacture-core icon indicating copy to clipboard operation
metafacture-core copied to clipboard

Enable macros within a macro

Open ChristophEwertowski opened this issue 7 years ago • 0 comments

In our morph file we have multiple blocks of macros, for example:

<call-macro name="setSubjectContributionBnode" field="100"/>
<call-macro name="setRoleForContributionBnode" field="100"/>
<call-macro name="setTypeContributionForContributionBnode" field="100"/>
<call-macro name="setAgentForContributionBnode" field="100"/>
<call-macro name="setBackSubjectContributionBnode" field="100"/>

All it does is adding role, type and agent of a contribution. Since every fourth field from 100 to 296 has to have these elements it would be nice to be able to put them into one "super-macro".

ChristophEwertowski avatar Jul 25 '18 13:07 ChristophEwertowski