\def\DATE{THEDATE}\expanded{\xmlsetentity{DATE}{\DATE}}
\startxmlsetups typ:event
\def\DATE{NEWDATE}\expanded{\xmlsetentity{DATE}{\DATE}}
Using &DATE; within the <event>.
\stopxmlsetups
However, using &DATE; inside an <event> always results in THEDATE and never in NEWDATE.