EPUB Document Type

EPUB is an e-book file format that is a ZIP archive and can be downloaded and read on devices such as phones, tablets, computers, or e-readers. Oxygen XML Developer includes an Archive Browser view that allows you to view the contents and structure of this type of file.

Three distinct frameworks are supported for the EPUB document type:

  • NCX - A declarative global navigation definition.
  • OCF - The Open Container Format (OCF) defines a mechanism by which all components of an Open Publication Structure (OPS) can be combined into a single file system entity.
  • OPF - The Open Packaging Format (OPF) defines the mechanism by which all components of a published work that conforms to the Open Publication Structure (OPS) standard (including metadata, reading order, and navigational information) are packaged in an OPS Publication.

    Note

    Oxygen XML Developer supports both OPF 2.0 and OPF 3.0.

File Definition

A file is considered to be an EPUB document if it has a file extension of .epub.

Default Document Templates

There are a variety of default EPUB templates available when creating new documents from templates, including NCX - Toc, OCF - Container, OCF - Encryption, OCF - Signatures, OPF 2.0 - Content, and OPF 3.0 - Content.

The default templates for the NCX document types are located in the [OXYGEN_INSTALL_DIR]/frameworks/ncx/templates folder.

The default templates for the OCF document types are located in the [OXYGEN_INSTALL_DIR]/frameworks/ocf/templates folder.

The default template for the OPF 2.0 document type is located in the [OXYGEN_INSTALL_DIR]/frameworks/opf/templates/2.0 folder.

The default template for the OPF 3.0 document type is located in the [OXYGEN_INSTALL_DIR]/frameworks/opf/templates/3.0 folder.

Was this helpful?