Tools, FAQ, Tutorials:
Hello-2.0.epub - "container.xml" File
How to create the "container.xml" file of an EPUB 2.0.1 book?
✍: FYIcenter.com
The "container.xml" file of an EPUB 2.0.1 book is a required file 
in the book ZIP container.
It specifies a package file of any name, for example: package.opf.
Here is the requirement on the "container.xml" file:
1. The "container.xml" file must be named as "container.xml".
2. The "container.xml" file must be an XML file and meet the "Open Container Format (OCF) 2.0.1" specifications.
3. The "container.xml" file must specify at least 1 package file, any name, for example: package.opf.
4. The "container.xml" file must be placed in a sub-directory called META-INF of the EPUB 2.0.1 book ZIP container.
You can create the "container.xml" file with any text editor. Here is an example:
<?xml version="1.0" encoding="utf-8"?>
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0">
  <rootfiles>
    <rootfile full-path="package.opf" media-type="application/oebps-package+xml"/>
  </rootfiles>
</container>
Download Hello-2.0.epub, and unzip it. You see an example of "container.xml" in the META-INF directory.
⇒ Hello-2.0.epub - Package File: package.opf
⇐ Hello-2.0.epub - "mimtype" File
2023-05-09, ∼2228🔥, 0💬
Popular Posts:
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximu...
Where to find tutorials on Python programming language? I want to learn Python. Here is a large coll...
FYIcenter.com Online Tools: FYIcenter JSON Validator and Formatter FYIcenter JSON to XML Converter F...
How to search for the first match of a regular expression using re.search()? The re.search() functio...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...