XML technologies / ePUB / Open Publication Format / The Manifest element / The Item element

(Excerpt from “E-Books mit ePUB ─ Von Word zum E-Book mit XML” by Dr. Victor Wang)

Individual references use the element <item>, required at least once inside Manifest. A complete Item reference contains at least three items:

  1. The target file reference, stored in the attribute href, contains the filename and optional relative paths (href="kap01.htm" or href="xhtml/kap01.htm"). It resembles HTML’s href attributes, such as the link <a href="kap01.htm">Kapitel 1</a>. However, <item> cannot contain a fragment identifier, such as href="kap01.htm#tabelle1", because it always references the whole file.


  2. The MIME media type in the attribute mime-type.


  3. Finally set the attribute id for further reference use within OPF. IDs must be unique and are usually generated automatically.

   

 

 

 

back to top