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.
Copyright © mitp 2011
You may print the online version for your private use.
Otherwise, this chapter from “E-Books mit ePUB” is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Verlagsgruppe Hüthig Jehle Rehm GmbH, Im Weiher 10, 69121 Heidelberg, kundenbetreuung(at)hjr-verlag.de
back to top