The current configuration language for stam fromxml can be improved to be more powerful by introducing templating more consistently, at the same time this can also simplify the language.
Things I want to implement:
It's probably easiest to use an existing templating engine like upon, liquid or tera.
The current configuration language for
stam fromxmlcan be improved to be more powerful by introducing templating more consistently, at the same time this can also simplify the language.Things I want to implement:
{@x}for variables currently, but that's about it. We need blocks like{% if @x == "blah" %}{@x}{% else %}{}{% endif %}{@xml:id}{../@xml:id}{./child/@xml:id}?.orskip_if_missingis set on the annotation data/path/to/element[@x == "blah"](without implementing all of XPath)It's probably easiest to use an existing templating engine like
upon,liquidortera.