Hans, thanks a lot!

On Mon, 13 Dec 2010 21:17:23 +0100
 Hans Hagen <pra...@wxs.nl> wrote:

something like this:

\doifelse {\xmlatt{#1}{important}} {} {
  \color[darkblue]{EMPTY: \xmlflush{#1}}
} {
  \color[darkred]{NOTEMPTY: \xmlatt{#1}{important}}
}
\par
Yes, this works!


or (untested): \xmldoifelse{#1}{./[...@important==''])

This doesn't, for some reason. But I'm glad to see that my syntax wasn't too far off. Thanks a lot, and all best!

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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