I cannot get multiple separate \xmlsetsetup's working. Obviously I am doing something wrong. My idea was: file included contains: \startxmlsetups xml:commoncontext:commonsetups \xmlsetsetup{}{error|tex|html|nbsp|...|br}{xml:commoncontext:*} \stopxmlsetups \xmlregistersetup{xml:commoncontext:commonsetups} \startxmlsetups xml:commoncontext:br \crlf \writestatus{CALLING}{br} % <<< apparently not called! \stopxmlsetups \startxmlsetups xml:commoncontext:b {\bf\xmlflush{#1}} \stopxmlsetups ...... file that includes contains: \startxmlsetups xml:doccase:doccasesetups \xmlsetsetup{}{*}{xml:commoncontext:*} % {doc}{*}..also does not work \xmlsetsetup{doc}{*}{xml:case:*} % does work for setup 'xml:case' \xmlsetsetup{doc}{error|dvd|titles...|source|stars}{xml:doccase:*} \stopxmlsetups \xmlregistersetup{xml:doccase:dvoccasesetups} \startxmlsetups xml:case:text \xmlflush{#1} \stopxmlsetups .... etc. Usage: <doc><text>The break not called<br/> and similarly <b>not called b><text></doc> Where is the flaw here? Hans van der Meer