Solving the XML to HTML problem