converted xml to dict and put into html file