<a id="a">a</a> -> <h2><a id="a">a</a></h2>, <br> -> <br/>

To import HTML to InDesign I need to convert it to XML first. A valid structured XHTML will help.