DocBook is a semantic markup language for writing structured documents using XML (or SGML). It was originally intended for writing technical documents related to computer hardware and software but it can be used for any other sort of documentation. The language is fairly easy to learn; its strength derives from its flexibility.