Hans, I have the following sample: \setupbodyfont[30pt] \startbuffer[demo] <doc> <h1>This is my title</h1> <div class="section" class="level1" class="hidden"> <h1>This title is hidden</h1> </div> <div class="section level1 hidden"> <h1>This title is not hidden</h1> <p>Text</p> </div> </doc> \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{div}{xml:div} \xmlsetsetup{#1}{h1}{xml:h1} \xmlsetsetup{\xmldocument}{[@id='epigraph']}{xml:epigraph} \xmlsetsetup{#1}{[@class='hidden']/h1}{} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:div \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:h1 \section{\xmlflush{#1}} \stopxmlsetups \xmlprocessbuffer{main}{demo}{} \stoptext ConTeXt MkIV is not able to understand class="section level1 hidden" as class="section" class="level1" class="hidden" and the second attribution is invalid XML (according to the W3C Validator [http://validator.w3.org/] and xmlvalidation.com): class should be only specified once. I think this might be a bug in ConTeXt. Many thanks for your help, Pablo -- http://www.ousia.tk