![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
17 Nov
2022
17 Nov
'22
3:56 a.m.
On 17. Nov 2022, at 11:04, Hans Hagen via ntg-context
wrote: so, basically you collect data and use it later ... for huge datasets that saves some time
if you have only chapters to process you can even decide to flush in that function
Hans
I think this is exactly the approach I’m looking for: collecting everything in Lua tables and then retrieving and typesetting it later. I’m experimenting with it right now. I will have to define a proper lxml.command for every xml tag, I guess; otherwise, the xml gets serialized? I’ll play some more and will certainly be back with questions :-) Thank you, as always, and all best Thomas