I would like to process my <dvd> nodes in more than one way but I am stuck with the implementation.

The trees could start in a different setup:
\startxmlsetups xml:dvdfirst:dvd .. \stopxmlsetups
\startxmlsetups xml:dvdfirst:setups
\xmlsetsetup{\xmldocument}
{error|setup|dvd ..

and

\startxmlsetups xml:dvdsecond:dvd .. \stopxmlsetups
\startxmlsetups xml:dvdsecond:setups .. 

I thought I could call the variants (data collected in a buffer) with:

\xmlprocessbuffer{dvd}{data.xml}{xml:dvdfirst:dvd}
en
\xmlprocessbuffer{dvd}{data.xml}{xml:dvdsecond:dvd}

But this does not work. Neither for example ..{xml:dvdfirst}

Guess I am mistreating the 3rd parameter of \xmlprocessbuffer{}{}{initial-xml-setup}. The manual says "process the tree starting with initial-xml-setup.

What am I doing wrong?

Hans van der Meer