DocBook

DocBook
Dateiendung: .dbk, .xml
MIME-Type: application/docbook+xml
Entwickelt von: Organization for the Advancement of Structured Information Standards
Aktuelle Version 5.2[1]
(2024-02-06)
Art: Auszeichnungssprache
Erweitert von: SGML, XML
Standard(s): 5.2 (Februar 2024),

4.5 (Oktober 2006)

www.oasis-open.org/committees/docbook/

DocBook ist ein Dokumentenformat, das in einer für SGML und XML vorliegenden Dokumenttypdefinition (DTD) festgelegt ist. Es eignet sich besonders zur Erstellung von Büchern, Artikeln und Dokumentationen im technischen Umfeld (Hardware oder Software). DocBook ist ein offener Standard, der von der Organization for the Advancement of Structured Information Standards (OASIS) gepflegt wird.

Am weitesten verbreitet ist die Verwendung von DocBook bei Open-Source-Projekten. So verwendet das Linux Documentation Project die DTD zum Erstellen der Howtos. KDE und GNOME/GTK+ verwenden es als grundlegendes Format für alle API-Dokumentationen sowie Benutzerhandbücher der Anwendungsprogramme.

Ein Vergleich zwischen DocBook und der für ähnliche Zwecke vorgesehenen Darwin Information Typing Architecture (DITA) findet sich dort im Abschnitt Vorteile und Vergleich gegenüber DocBook.

Beispiel-Code

<book id="einfaches_buch">
    <title>Ein sehr einfaches Buch</title>
    <chapter id="einfaches_kapitel">
        <title>Kapitel</title>
        <para>Hallo Welt!</para>
    </chapter>
</book>

Versionen

Die aktuelle Version ist DocBook 5.2 vom 6. Februar 2024.[1]

Vorher war DocBook 5.1.1 vom 9. Juni 2021 aktuell. Der Hauptunterschied von 5.x zu früheren 4.x Versionen war, dass ein Docbook-Element unabhängig von seiner Position im Dokument den gleichen Inhalt hatte.

Literatur

Wikibooks: DocBook in „XML: Managing Data Exchange“ – Lern- und Lehrmaterialien (englisch)

Einzelnachweise

  1. a b #DocBook Version 5.2 OASIS Standard published. OASIS, 12. Februar 2024.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.