HTML to LaTeX (htmltolatex) is a Java program for converting HTML (XHTML also supported) pages into LaTeX format (or possibly to other markup formats - which depends only on the configuration). Program is distributed under GNU/GPL licence.
A number of excellent packages and other tools have been developed which make drawing trees one of the easier tasks in LaTeX. Several are described here