% follow up on mail discussion with T
\startbuffer[demo]
Text Goes Here
Different Text Goes Here
\stopbuffer
\startxmlsetups xml:xhtml
\xmlsetsetup{\xmldocument}{*}{-}
\xmlsetsetup{\xmldocument}{html|body|div}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:xhtml}
\startxmlsetups xml:html
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:body
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:div
\setupstartstop
[\xmlatt{#1}{class}]
[title=\xmlatt{#1}{data-title}]%
\start[\xmlatt{#1}{class}]%
\xmlflush{#1}
\stop
\blank
used wherever needed: \namedstartstopparameter{concurrent}{title}
\blank
\stopxmlsetups
\definestartstop
[concurrent]
[before=\startsection[title={TITLE: \namedstartstopparameter{concurrent}{title}}],
after=\stopsection]%
\starttext
\xmlprocessbuffer{main}{demo}{}
\stoptext