What is the “official” way to get the <body> element in XHTML (=~XML) web page where there is no document.body? I mean something better than quering it through querySelector or getElementsByTagName which I consider ugly.
EDIT: It doesn’t work for me in Firefox 3.6 when in strict XHTML mode.
I had a XML document. One should switch from
application/xmltoapplication/xhtml+xml.