DocBook
DocBook is a semantic markup language for technical documentation. 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. As a semantic language, DocBook enables its users to create document content in a presentation-neutral form that captures the logical structure of the content; that content can then be published in a variety of formats, including HTML, XHTML, EPUB, PDF, man pages, WebHelp and HTML Help, without requiring users to make any changes to the source. In other words, when a document is written in DocBook format it becomes easily portable into other formats, rather than needing to be rewritten.
DocBook is a semantic markup language for technical documentation. 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. As a semantic language, DocBook enables its users to create document content in a presentation-neutral form that captures the logical structure of the content; that content can then be published in a variety of formats, including HTML, XHTML, EPUB, PDF, man pages, WebHelp and HTML Help, without requiring users to make any changes to the source. In other words, when a document is written in DocBook format it becomes easily portable into other formats, rather than needing to be rewritten. Very simple book Chapter 1 Hello world! I hope that your day is proceeding splendidly ! Chapter 2 Hello again, world! Semantically, this document is a "book", with a "title", that contains two "chapters" each with their own "titles". Those "chapters" contain "paragraphs" that have text in them. The markup is fairly readable in English. In more detail, the root element of the document is book . All DocBook elements are in an XML Namespace, so the root element has an xmlns attribute to set the current namespace. Also, the root element of a DocBook document must have a version that specifies the version of the format that the document is built on. (XML documents can include elements from multiple namespaces at once, like the id attributes in the example.) A book element must contain a title , or an info element containing a title . This must be before any child structural elements. Following the title are the structural children, in this case, two chapter elements. Each of these must have a title . They contain para block elements, which can contain free text and other inline elements like the emphasis in the second paragraph of the first chapter. DocBook: The Definitive Guide, 1st edition, v. 2.0.6 - Fully bookmarked PDF of the Guide for DocBook 3.x and 4.x.
References
- What is DocBook? Wikipedia revision 1378749775, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "What is DocBook? Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://docbook.org/whatis. Accessed 24 November 2026.
Chicago "What is DocBook? Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://docbook.org/whatis.
APA encyclopegia.org. (2026). What is DocBook? Wikipedia revision 1378749775, retrieved 2026-11-21. Retrieved November 24, 2026, from http://docbook.org/whatis
- docbook2mdoc-1.0.0 released · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "docbook2mdoc-1.0.0 released." Schwarze, Igor (April 19, 2019). 2026-11-20. https://undeadly.org/cgi?action=article&sid=20190419101505. Accessed 24 November 2026.
Chicago "docbook2mdoc-1.0.0 released." Schwarze, Igor (April 19, 2019). 2026-11-20. https://undeadly.org/cgi?action=article&sid=20190419101505.
APA Schwarze, Igor (April 19, 2019). (2026). docbook2mdoc-1.0.0 released. Retrieved November 24, 2026, from https://undeadly.org/cgi?action=article&sid=20190419101505
- Getting Started with DocBook Wikipedia revision 1378749775, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "Getting Started with DocBook Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://www.docbook.org/tdg5/en/html/ch01.html. Accessed 24 November 2026.
Chicago "Getting Started with DocBook Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://www.docbook.org/tdg5/en/html/ch01.html.
APA encyclopegia.org. (2026). Getting Started with DocBook Wikipedia revision 1378749775, retrieved 2026-11-21. Retrieved November 24, 2026, from http://www.docbook.org/tdg5/en/html/ch01.html
- Linux Kernel Documentation — the Linux Kernel documentation · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "Linux Kernel Documentation — the Linux Kernel documentation." 2026-11-20. https://www.kernel.org/doc/html/v4.8/kernel-documentation.html. Accessed 24 November 2026.
Chicago "Linux Kernel Documentation — the Linux Kernel documentation." 2026-11-20. https://www.kernel.org/doc/html/v4.8/kernel-documentation.html.
APA encyclopegia.org. (2026). Linux Kernel Documentation — the Linux Kernel documentation. Retrieved November 24, 2026, from https://www.kernel.org/doc/html/v4.8/kernel-documentation.html
- Kernel documentation with Sphinx, part 1: How we got here [LWN.net] · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "Kernel documentation with Sphinx, part 1: How we got here [LWN.net]." "Kernel documentation with Sphinx, part 1: How we got here [LWN. 2026-11-20. https://lwn.net/Articles/692704/. Accessed 24 November 2026.
Chicago "Kernel documentation with Sphinx, part 1: How we got here [LWN.net]." "Kernel documentation with Sphinx, part 1: How we got here [LWN. 2026-11-20. https://lwn.net/Articles/692704/.
APA "Kernel documentation with Sphinx, part 1: How we got here [LWN. (2026). Kernel documentation with Sphinx, part 1: How we got here [LWN.net]. Retrieved November 24, 2026, from https://lwn.net/Articles/692704/
- Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide , 16 June 2009, Converting DocBook V4.x documents to DocBook V5.0 Wikipedia revision 1378749775, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide , 16 June 2009, Converting DocBook V4.x documents to DocBook V5.0 Wikipedia revision 1378749775, retrieved 2026-11-21." Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5. 2026-11-20. http://docbook.org/docs/howto/#convert4to5. Accessed 24 November 2026.
Chicago "Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide , 16 June 2009, Converting DocBook V4.x documents to DocBook V5.0 Wikipedia revision 1378749775, retrieved 2026-11-21." Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5. 2026-11-20. http://docbook.org/docs/howto/#convert4to5.
APA Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5. (2026). Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide , 16 June 2009, Converting DocBook V4.x documents to DocBook V5.0 Wikipedia revision 1378749775, retrieved 2026-11-21. Retrieved November 24, 2026, from http://docbook.org/docs/howto/#convert4to5
- Web help documentation Wikipedia revision 1378749775, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "Web help documentation Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. https://docbook.sourceforge.net/release/xsl/current/webhelp/docs/index.html. Accessed 24 November 2026.
Chicago "Web help documentation Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. https://docbook.sourceforge.net/release/xsl/current/webhelp/docs/index.html.
APA encyclopegia.org. (2026). Web help documentation Wikipedia revision 1378749775, retrieved 2026-11-21. Retrieved November 24, 2026, from https://docbook.sourceforge.net/release/xsl/current/webhelp/docs/index.html
- Simplified DocBook Wikipedia revision 1378749775, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "Simplified DocBook Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://www.docbook.org/schemas/sdocbook/. Accessed 24 November 2026.
Chicago "Simplified DocBook Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://www.docbook.org/schemas/sdocbook/.
APA encyclopegia.org. (2026). Simplified DocBook Wikipedia revision 1378749775, retrieved 2026-11-21. Retrieved November 24, 2026, from http://www.docbook.org/schemas/sdocbook/
- DocBook Editing · retrieved 2022-11-01 · rev 1378749775
Cite this reference
MLA "DocBook Editing." a b "DocBook Editing". 2022-11-01. https://www.oxygenxml.com/xml_editor/docbook_editor_structured_editing.html. Accessed 24 November 2026.
Chicago "DocBook Editing." a b "DocBook Editing". 2022-11-01. https://www.oxygenxml.com/xml_editor/docbook_editor_structured_editing.html.
APA a b "DocBook Editing". (2022). DocBook Editing. Retrieved November 24, 2026, from https://www.oxygenxml.com/xml_editor/docbook_editor_structured_editing.html
- a b DocBook WebHelp Project Wikipedia revision 1378749775, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1378749775
Cite this reference
MLA "a b DocBook WebHelp Project Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html. Accessed 24 November 2026.
Chicago "a b DocBook WebHelp Project Wikipedia revision 1378749775, retrieved 2026-11-21." 2026-11-20. http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html.
APA encyclopegia.org. (2026). a b DocBook WebHelp Project Wikipedia revision 1378749775, retrieved 2026-11-21. Retrieved November 24, 2026, from http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html
- [http://docbook.org/whatis What is DocBook?] . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "[http://docbook.org/whatis What is DocBook?] ." http://docbook. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "[http://docbook.org/whatis What is DocBook?] ." http://docbook. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA http://docbook. (2026). [http://docbook.org/whatis What is DocBook?] . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- Schwarze, Igor. docbook2mdoc-1.0.0 released . OpenBSD Journal . April 19, 2019. · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "Schwarze, Igor. docbook2mdoc-1.0.0 released . OpenBSD Journal . April 19, 2019." Schwarze, Igor. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "Schwarze, Igor. docbook2mdoc-1.0.0 released . OpenBSD Journal . April 19, 2019." Schwarze, Igor. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA Schwarze, Igor. (2026). Schwarze, Igor. docbook2mdoc-1.0.0 released . OpenBSD Journal . April 19, 2019. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- [http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html DocBook WebHelp Project] . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "[http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html DocBook WebHelp Project] ." http://blog. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "[http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html DocBook WebHelp Project] ." http://blog. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA http://blog. (2026). [http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html DocBook WebHelp Project] . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- DocBook Editing . www.oxygenxml.com . retrieved 2022-11-02 · retrieved 2022-11-01 · rev 1378749775
Cite this reference
MLA "DocBook Editing . www.oxygenxml.com . retrieved 2022-11-02." DocBook Editing. 2022-11-01. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "DocBook Editing . www.oxygenxml.com . retrieved 2022-11-02." DocBook Editing. 2022-11-01. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA DocBook Editing. (2022). DocBook Editing . www.oxygenxml.com . retrieved 2022-11-02. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- Because DocBook conforms to a well-defined XML schema, documents can be validated and processed using any tool or programming language that includes XML support. == History == DocBook began in 1991 in . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "Because DocBook conforms to a well-defined XML schema, documents can be validated and processed using any tool or programming language that includes XML support. == History == DocBook began in 1991 in ." Because DocBook conforms to a well-defined XML schema, documents can be validated and processed using any tool or progra. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "Because DocBook conforms to a well-defined XML schema, documents can be validated and processed using any tool or programming language that includes XML support. == History == DocBook began in 1991 in ." Because DocBook conforms to a well-defined XML schema, documents can be validated and processed using any tool or progra. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA Because DocBook conforms to a well-defined XML schema, documents can be validated and processed using any tool or progra. (2026). Because DocBook conforms to a well-defined XML schema, documents can be validated and processed using any tool or programming language that includes XML support. == History == DocBook began in 1991 in . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- Linux Kernel Documentation — the Linux Kernel documentation . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "Linux Kernel Documentation — the Linux Kernel documentation ." 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "Linux Kernel Documentation — the Linux Kernel documentation ." 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA encyclopegia.org. (2026). Linux Kernel Documentation — the Linux Kernel documentation . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- Kernel documentation with Sphinx, part 1: How we got here [LWN.net] . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "Kernel documentation with Sphinx, part 1: How we got here [LWN.net] ." Kernel documentation with Sphinx, part 1: How we got here [LWN. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "Kernel documentation with Sphinx, part 1: How we got here [LWN.net] ." Kernel documentation with Sphinx, part 1: How we got here [LWN. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA Kernel documentation with Sphinx, part 1: How we got here [LWN. (2026). Kernel documentation with Sphinx, part 1: How we got here [LWN.net] . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide, 16 June 2009, [http://docbook.org/docs/howto/#convert4to5 Converting DocBook V4.x documents to DocB . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide, 16 June 2009, [http://docbook.org/docs/howto/#convert4to5 Converting DocBook V4.x documents to DocB ." Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide, 16 June 2009, [http://docbook.org/docs/howto/#convert4to5 Converting DocBook V4.x documents to DocB ." Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5. (2026). Jirka Kosek, Norman Walsh, Dick Hamilton, and Michael Smith, DocBook V5.0: The Transition Guide, 16 June 2009, [http://docbook.org/docs/howto/#convert4to5 Converting DocBook V4.x documents to DocB . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- is a chunked HTML output format in the DocBook XSL stylesheets that was introduced in version 1.76.1. The documentation for web help [https://docbook.sourceforge.net/release/xsl/current/webhelp/do . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "is a chunked HTML output format in the DocBook XSL stylesheets that was introduced in version 1.76.1. The documentation for web help [https://docbook.sourceforge.net/release/xsl/current/webhelp/do ." is a chunked HTML output format in the DocBook XSL stylesheets that was introduced in version 1. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "is a chunked HTML output format in the DocBook XSL stylesheets that was introduced in version 1.76.1. The documentation for web help [https://docbook.sourceforge.net/release/xsl/current/webhelp/do ." is a chunked HTML output format in the DocBook XSL stylesheets that was introduced in version 1. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA is a chunked HTML output format in the DocBook XSL stylesheets that was introduced in version 1. (2026). is a chunked HTML output format in the DocBook XSL stylesheets that was introduced in version 1.76.1. The documentation for web help [https://docbook.sourceforge.net/release/xsl/current/webhelp/do . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
- [http://www.docbook.org/schemas/sdocbook/ Simplified DocBook] . · retrieved 2026-10-04 · rev 1378749775
Cite this reference
MLA "[http://www.docbook.org/schemas/sdocbook/ Simplified DocBook] ." http://www. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775. Accessed 24 November 2026.
Chicago "[http://www.docbook.org/schemas/sdocbook/ Simplified DocBook] ." http://www. 2026-10-04. https://en.wikipedia.org/w/index.php?oldid=1378749775.
APA http://www. (2026). [http://www.docbook.org/schemas/sdocbook/ Simplified DocBook] . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378749775
Cite this article
MLA
"DocBook." encyclopegia.org, 2026, https://encyclopegia.org/wiki/docbook. Accessed 24 November 2026.
Chicago
"DocBook." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/docbook.
APA
encyclopegia.org. (2026). DocBook. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/docbook
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON