DocBook is a system for writing structured documents using SGML or XML. DocBook has been in use for many years in many different organizations. It is currently maintained by the OASIS DocBook Technical Committee.
The specifications for DocBook can be found here: http://www.docbook.org/specs/
Examples: