\usemodule[mathml]

\starttext

\startTEXpage[offset=10pt]

\startbuffer[test-1]
<math xmlns='http://www.w3c.org/mathml' version='2.0'>
    <apply> <eq/>
        <apply> <sin/>
            <apply> <plus/>
                <ci> x </ci>
                <ci> y </ci>
            </apply>
        </apply>
        <apply> <plus/>
            <apply> <times/>
                <apply> <sin/>
                    <ci> x </ci>
                </apply>
                <apply> <cos/>
                    <ci> y </ci>
                </apply>
            </apply>
            <apply> <times/>
                <apply> <cos/>
                    <ci> x </ci>
                </apply>
                <apply> <sin/>
                    <ci> y </ci>
                </apply>
            </apply>
        </apply>
    </apply>
</math>
\stopbuffer

\typebuffer[test-1][option=xml] \blank

\xmlprocessbuffer{test}{test-1}{}

\stopTEXpage

\stoptext
