http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Differences_Between_HTML_and_XHTML
//There is html, xhtml 1.0 that is "considered" html and then its the html 5 coming but its here....
I am seriously confused.
document.parser.class.inc.php could be modified to output the meta tags in the following format:
<meta name="keywords" content="keywords..."></meta>
Then the output would work with both HTML and XHTML. HTML parsers will accept the first meta tag and just ignore the floating </meta>. I am sure that there are some people that will object that it is not standard conforming HTML, but it is does conform to the general rule that HTML parsers ignore what they don’t understand. I think it’s better than the current situation where the meta tags will be ignored if the page is written as HTML anyway.
Paul