On 9-3-2010 11:26, Hans van der Meer wrote:
I get an error with the code below. Is it (im)possible to fill a buffer from xml-processing in this manner? Or is there another way?
The xml: <description>contents of description</description>
The setups: \startxmlsetups xml:case:description \startbuffer[BESCHRIJVING] \xmlflush{#1} \stopbuffer \stopxmlsetups
The error message: Runaway argument? \xmlflush {dvd::24}\stopbuffer \startcase \dvdfrontpagina [\PAGEFIGURE \ETC. ! File ended while scanning use of \dododowithbuffer.
buffers don't work inside a setup but why do you need a buffer? you can explicitly flush content \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 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 -----------------------------------------------------------------