In a document
<root> <file name="file1"/><file name="file2"/></root>
a series of xml files is processed.

The nodes processed are as usual defined in
\xmlsetsetup{#1}\writestatus{}{MARKER}{node1|node2|..}{name:*}\stopxmlsetups
\xmlregistersetup{name:setups}

The root is called with \xmlprocessfile{root}{filename}{} and has a setup as follows:
\startxmlsetups name:root
% each inner <file> node is in turn called with
  \xmlprocessfile{root-node in file}{filename from attribute}{}
\stopxmlsetups

The problem is that the \xmlsetsetup is called each time one of the file's is processed, as shown by the MARKER in the log. However, it is the intention to process the setups one and for all.
How can the apparent rereading on the defining setups be restricted to an inital setup only?

Hans van der Meer