Plan: Internal structure is XHTML2
The internal document structure currently uses document-v13 and this is due to become XHTML2.
See the parent issue: FOR-184 which also has links to some of the various email discussion threads.
The first job is to define what needs to happen. See the email discussion: Re: Planning the move to XHTML2. Ross has started to add those as subtasks for issue FOR-184.