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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to