I am parsing dita xml and I have to generate Confluence Storage Format.
I am facing difficulty with Anchor macro, while dita format have xref who behave the same way as html local link <xref href="#id">title</xref>....<any id="id"..., confluence seam to have its own unique synthax. 
Did someone have any good example on how to build a correct anchor and link it properly?
title