Why doesn't it seem possible to have the following macro \def\docall#1{\csname xmlprocess#1\encsname{}{}} and use it with \docall{buffer}? How then accomplish this?
Runaway argument? \def \sourcenode {exam::15}\edef \currentsource {\xmlattdef {exam::15\ETC. ! File ended while scanning use of \buff_gobble. ... \luat_start_lua_code_indeed ...nd \directlua {#1}} 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________