XML technologies / ePUB / Open Publication Structure / Integrating foreign XML data?

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

One still largely unused extension of OPS 2.0 is the concept of XML Islands. The idea is to include foreign XML data not initially provided for in XHTML or DTBook. Like SVG graphics, these contents may be inline, called “Inline XML Islands”, or separate external XML files, “Out-of-Line XML Islands”.

In both cases, provide OPS alternatives if the reader cannot process foreign XML. For Out-of-Line XML Islands, the corresponding fallback item concept was introduced in the OPF part. For Inline XML Islands, solve fallback within OPS. OPS therefore introduces its own element <switch> listing possible cases (element <case>), but must always include a safe default OPS alternative (element <default>).

Applications remain theoretical, since readers generally cannot handle the foreign XML. A few online prototypes demonstrate implementation. Examples include MathML formulas or embedded video (see EPUB Math: Best Practices for Mathematics in Ebooks and Using HTML5 video in ePUB). XML Islands are not discussed further here. Let us wait until these islands are better explored.

   

 

 

 

back to top