There is something I do not understand and I hope you can explain this. The table is typeset by the \xmlflush{#1} in the table macro:
\startxmlsetups xmlcommon:table
Z\bgroup
\setupxtable[% Setup defaults
leftmargindistance=0pt,rightmargindistance=0pt,
offset=2pt,height=fit,width=fit,
align={center,lohi},columndistance=0pt]
\setupxtableparameters{#1}
\startlocationbox{#1}
\removeunwantedspaces
\startembeddedxtable X\xmlflush{#1}Y\stopembeddedxtable
\ignorespaces
\stoplocationbox
\egroup
\stopxmlsetups
The "X" and "Y" have been placed around the \xmlflush to see what happens. Why do I see them 3 times? It looks as if the embeddedxtable-line is called 3 times (or maybe 4 times once for each row with the last call vanishing). However, the table macro itself
is called only once, the "Z" at the beginning proves that. I cannot explain this.