Around 2010 I did some web programming. XHTML was so much easier to parse and render from code because I could use some very powerful XML libraries. HTML is different enough from pure XML that it requires a different parser.
It was very nice to load an XML document and look for tags in a specific namespace instead of using a specialized HTML templating engine.
It was very nice to load an XML document and look for tags in a specific namespace instead of using a specialized HTML templating engine.