Added section ids.
Changed output from xhtml to html because it renders better in Firefox
(in particular, Firefox does not seem to recognize the page encoding
when there is the <?xml...?> prolog at the top of the page.