![](https://secure.gravatar.com/avatar/36541b49710ecbb73e7805d9f7ac9954.jpg?s=120&d=mm&r=g)
28 Oct
2009
28 Oct
'09
9:50 a.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