Hello-3.0.epub - "container.xml" File
How to create the "container.xml" file of an EPUB 3.1 book?
The "container.xml" file of an EPUB 3.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 EPUB Open Container Format (OCF) 3.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 3.0 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-3.0.epub, and unzip it. You see an example of "container.xml" in the META-INF directory.
2018-04-30, 148👍, 0💬
How To Support Multiple-Page Forms in PHP? If you have a long form with a lots of fields, you may wa...
How To Sort an Array by Keys in PHP? Sorting an array by keys can be done by using the ksort() funct...
What Are the Attributes of a "table" Element? A "table" element may have the following commonly used...
How To Quote Date and Time Values in SQL Statements in PHP? If you want to provide date and time val...
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...