The XHTML to TeX translation is based on a XSL transformation. In any case it is necessary to follow some conventions in order to generate an XHTML that can be mapped to proper TeX. These are the basic guidelines: