Convert DOCBOOK to TXT

Turn DOCBOOK files into TXT. Plain text with one line per paragraph, opening with the title, author, date and abstract, with entities declared in the file expanded.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop DOCBOOK files on the dialor turn it to pick what to do

Plain text from a DocBook file.One line per paragraph, opening with the title, author, date and abstract.

  1. What you get

    A TXT file with no formatting. Each paragraph sits on one line. The text opens with the title, the author, the date and the abstract.

    Entities declared in the file are expanded, so the text holds their values and not their names.

  2. What changes

    Tables become aligned columns. Images become their description. Link addresses are dropped.

  3. When it fails

    A file that cannot be parsed stops the conversion with input_corrupted. This applies to a DocBook file that is not valid XML or is damaged.

DOCBOOK and TXT.What each format is.

The formats

From · DOCBOOK

DocBook

DocBook XML, the structured format of technical books and manuals.

Extensions
.dbk .docbook
MIME type
application/docbook+xml
Kind
Text and data
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

In your code.The same DOCBOOK to TXT conversion through the API, for your app or your agent.

terminal
$ cv convert report.dbk report.txt
$ cv convert report.dbk report.txt

Questions.What people ask about DOCBOOK to TXT.

01OF 04

Yes. The text opens with the title, author, date and abstract, and the body follows.

They become aligned columns in the text.

No. Link addresses are dropped.

Use TXT to DOCBOOK for the reverse direction. A plain text file holds no formatting, so it carries only what the text itself holds.

More conversions.Other ways in and out of DOCBOOK and TXT.