Hans, I have the following sample: \startbuffer[demo] <doc> <p>b</p> <code class="sourceCode latex"><span class="fu">\␣</span></code> </doc> \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|p|code}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \startpar\xmlflush{#1}\stoppar \stopxmlsetups \startxmlsetups xml:code \xmlprettyprinttext{#1}{tex} \stopxmlsetups \starttext \xmlprocessbuffer{main}{demo}{} \stoptext For some strange reason, "\␣" is problematic only when \xmlprettyprinttext (or \xmlinlineprettyprinttext) is set to tex. Is this a bug or am I missing something? Many thanks for your help, Pablo -- http://www.ousia.tk