DocBook
From Ledet Training Wiki
DocBook is a standard structured XML vocabulary for creating documents in a presentation-neutral form that captures the logical structure of content. Using free tools along with the DocBook XSL stylesheets, users can publish content as HTML pages, PDF files, epub, .mobi and in many other formats.
[dbotoepub] is a free ruby script for converting docbook SML files to .epub