![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
Hi all, I am encountering two problems with xml processing; minimal example below. My questions/observations: 1. How can I prevent every index term to be sorted under "x" (for \xmlflush)? 2. What is the readon that the \cite command displays this bizarre behavior and the list of references is empty when I use authornum as refcommand? Thanks and all best! Thomas \setupbibtex[database=sample] \setuppublications [refcommand=authornum] \starttext \startbuffer[demo] <document> <p>Madame Bovary is a novel by Gustave <indexterm>Flaubert, Gustave</indexterm>Flaubert. This has been demonstrated in <citation>hh2010</citation> in 2010.</p> </document> \stopbuffer \startxmlsetups xml:test \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{document|p|indexterm|citation}{xml:*} \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1} \par \stopxmlsetups \startxmlsetups xml:indexterm \index{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:citation \cite[{\xmlflush{#1}}] \stopxmlsetups \xmlprocessbuffer{whatever}{demo}{} \page \placepublications[criterium=all] \page \placeregister[index] \stoptext