# Move section anchors generated by tex4ht

When compiling a file with tex4ht, the sections are transformed with header HTML tags with anchor. So, if I compile

\documentclass{article}
\usepackage[xhtml,mathml]{tex4ht}
\begin{document}
\section{Hello}
\end{document}


with latex, tex4ht, I obtain the following html code

<h3>[...]<a id="x1-10001"></a>Hello</h3>


Is it possible to move the anchor tag to the end, and to make it non empty? Specifically, I would like something like:

<h3>[...]Hello<a class="anchor" id="x1-10001">¶</a></h3>


Is that possible?

-
Anchor id's are rather hardwired, I believe it is hard to change the way it gets inserted since it is the only mechanism through which TeX4ht tracks various anchor points by making use of \jobname.xref. This is very much used to track and cross-link various linkable items correctly even if the html output is split into several different files with \CutAt{...} command, the argument of which can by any logical sectional unit or chapter. – CV Radhakrishnan Oct 9 '12 at 23:58
I take it that it is impossible to achieve what I want to do? – Olivier Oct 10 '12 at 10:07