On 9-3-2010 11:37, Hans van der Meer wrote:
I want a buffer because I must save the contents until I can call it up later on. The solution below flushes the contents prematurely.
hm, normally you can do that in a parent node (or you can backtrack and call it then) another option is to save the reference (#1) \def\MyFunnyBuffer{#1} and then later \xmlflush\MyFunnyBuffer
\xmlfirst{#1}{description}
and such so there is no need for buffers; in fact, the whole file is buffered and you can consider each element to be a buffer
Hans
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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------