.docbook DocBook document

Documents & office

MIME typeapplication/x-docbook+xml
DescriptionDocBook document
CategoryDocuments & office
Signature (magic bytes)3C 3F 78 6D 6C (<?xml)
Based onapplication/xml
Other extensions.dbk

Frequently asked questions

What is a .docbook file?

A .docbook file is a “DocBook document” (MIME type application/x-docbook+xml).

How do I open a .docbook file?

With an office suite: LibreOffice (free, Windows/macOS/Linux) opens most document formats, as do Microsoft Office or the vendor’s own app.

How can you tell a genuine .docbook file?

By the bytes at the start of the file, the signature (magic bytes): 3C 3F 78 6D 6C (<?xml). On Linux and macOS, file --mime-type example.docbook checks the real type regardless of the extension.

Which format is .docbook based on?

Technically a .docbook file is a subtype of “XML document” (application/xml), so programs for that base format can often read it too.

Which MIME type belongs to .docbook?

The MIME type is application/x-docbook+xml. In the Apache web server: AddType application/x-docbook+xml .docbook; in nginx: types { application/x-docbook+xml docbook; }.

Nearby entries