<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>In September 2015 thread "Custom XML Export," Hans instructed us
on how to create custom tags. The example he presented is:</p>
<blockquote>
<pre>\setupbackend[export=yes]
\definehighlight[this]
\starttext
\startelement[what]
\this{that} \input ward
\stopelement
\stoptext
</pre>
</blockquote>
<p>When that example is run with the current (2018-06-25) beta or
TL18, there is no html body:</p>
<blockquote>
<pre> </head>
<body>
<div class="document" xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.pragma-ade.com/context/export">"http://www.pragma-ade.com/context/export"</a>>
<div class="warning">Rendering can be suboptimal because there is no default/fallback css loaded.</div>
<div>
<div class="metadata">
</div>
</div>
</div>
</body>
</html>
</pre>
</blockquote>
<p>Further experimentation suggests that \startelement is gobbling
the output. (Adding \setupstructure does not change the result.)</p>
<p>What is the proper way to add custom tags?</p>
<p>-- <br>
Rik<br>
</p>
</body>
</html>