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 · 1795215600.0
- ^ Schwarze, Igor (April 19, 2019). "docbook2mdoc-1.0.0 released" . OpenBSD Journal . Wikipedia revision 1378749775, retrieved 2026-11-21 · 1795215600.0
- ^ Getting Started with DocBook Wikipedia revision 1378749775, retrieved 2026-11-21 · 1795215600.0
- ^ "Linux Kernel Documentation — the Linux Kernel documentation" . Wikipedia revision 1378749775, retrieved 2026-11-21 · 1795215600.0
- ^ "Kernel documentation with Sphinx, part 1: How we got here [LWN.net]" . Wikipedia revision 1378749775, retrieved 2026-11-21 · 1795215600.0
- ^ 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 · 1795215600.0
- ^ Web help documentation Wikipedia revision 1378749775, retrieved 2026-11-21 · 1795215600.0
- ^ Simplified DocBook Wikipedia revision 1378749775, retrieved 2026-11-21 · 1795215600.0
- ^ a b "DocBook Editing" . www.oxygenxml.com . Retrieved 2022-11-02 . Wikipedia revision 1378749775, retrieved 2026-11-21 · 1667343600.0
- ^ a b DocBook WebHelp Project Wikipedia revision 1378749775, retrieved 2026-11-21 · 1795215600.0
- [http://docbook.org/whatis What is DocBook?] . · 1791154800.0
- Schwarze, Igor. docbook2mdoc-1.0.0 released . OpenBSD Journal . April 19, 2019. · 1791154800.0
- [http://blog.kasunbg.com/2010/08/docbook-webhelp-project.html DocBook WebHelp Project] . · 1791154800.0
- DocBook Editing . www.oxygenxml.com . retrieved 2022-11-02 · 1667343600.0
- 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 . · 1791154800.0
- Linux Kernel Documentation — the Linux Kernel documentation . · 1791154800.0
- Kernel documentation with Sphinx, part 1: How we got here [LWN.net] . · 1791154800.0
- 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 . · 1791154800.0
- 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 . · 1791154800.0
- [http://www.docbook.org/schemas/sdocbook/ Simplified DocBook] . · 1791154800.0
Cite this
"DocBook". 1791240632. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378749775 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy