Suppose we have node <example> and want to execute the xmlsetup: mysetups:examplehandler on it. The idea is not to hardcode this but to do it on the fly from <definesetup name=“example”>.
The following \xmlsetup comes into mind: \startxmlsetups mysetups:definesetup \xmlsetsetup{#1}{\xmlatt{#1}{name}}{mysetups:examplehandler} \stopxmlsetups \startxmlsetups mysetups:examplehandler ... \stopxmlsetups But this is either the wrong call or there is something missing, because on input of <example/> the examplehandler is not invoked. How to? dr. Hans van der Meer
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________