EPUB Document Type (Framework)
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. You can view the contents and structure of this type of file in the Project Explorer view or main editing pane.
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 Editor Eclipse plugin supports OPF 2.0, OPF 3.0, and OPF 3.1.
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 and they can be found the following folders in Framework Templates: NCX, OCF, OPF 2.0, OPF 3.0, and OPF 3.1.
- 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.
- The default template for the OPF 3.1 document type is located in the [OXYGEN_INSTALL_DIR]/frameworks/opf/templates/3.1 folder.
Default Schema
The default schema files for the various types of EPUB document types are located in the following directories:
- The default schema files for the NCX document types are located in the [OXYGEN_INSTALL_DIR]/frameworks/ncx/schemas folder.
- The default schema files for the OCF document types are located in the [OXYGEN_INSTALL_DIR]/frameworks/ocf/schemas folder.
- The default schema files for the OPF 2.0 document type is located in the [OXYGEN_INSTALL_DIR]/frameworks/opf/schemas/2.0 folder.
- The default schema files for the OPF 3.0 document type is located in the [OXYGEN_INSTALL_DIR]/frameworks/opf/schemas/3.0 folder.
- The default schema files for the OPF 3.1 document type is located in the [OXYGEN_INSTALL_DIR]/frameworks/opf/schemas/3.1 folder.