28 Oct
2009
28 Oct
'09
3:50 p.m.
On 28/10/2009 15:32, Taco Hoekwater wrote:
The next does not deserve a price for elegance, but because \xmlflush is expandable (this is its best feature, I think!) you can use the traditional tex toolkit macros:
\startxmlsetups xml:h3 \doifinstringelse{Skip title}{\xmlflush{#1}} {} {\subject{\xmlflush{#1}}} \stopxmlsetups
I'm fairly certain that there are nicer solutions, however.
Thanks Taco, this works, I owe you a beer at next year's ConTeXt meeting! I'm still interested in a 'proper' xml (= non-TeX) based solution, anyone? Jelle