If you add <tt>source="yes"</tt> to the <context> tag, you have the source and the result displayed. Example:
<xmlcode><context source="yes" text="produces">
\setupcolors [state=start]
\framed [background=color,
</context>
</xmlcode>
The contents of the attribute <tt>text</tt> will be inserted between the text and the result.