Multimedia systems and equipment - Multimedia e-publishing and e-books - Generic format for e-publishing

IEC 62448:2009 specifies a generic format for multimedia e-publishing employed for e-book data interchange among data preparers and publishers, satisfying a number of publishers requirements:
- revisable,
- extensible and
- heterogeneous logical structure. This second edition cancels and replaces the first edition, published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are:
- Addition of Annex B - XMDF XML format;
- Related changes in Clauses 2 and 6. This bilingual version, published in 2009-06, corresponds to the English version published in 2009-02. The French version of this standard has not been voted upon.

Systèmes et équipements multimédia - Publication et livres électroniques multimédia - Format générique pour la publication électronique

La CEI 62448:2009 spécifie un format générique de publication électronique multimédia utilisé pour l'échange des données d'un livre électronique entre les préparateurs de ces données et les éditeurs, satisfaisant un certain nombre d'exigences de ces derniers:
- une structure logique révisable,
- extensible et
- hétérogène. La présente version bilingue, publiée en 2009-06, correspond à la version anglaise publiée en 2009-02. La version française de cette norme n'a pas été soumise au vote.

General Information

Status
Published
Publication Date
24-Feb-2009
Current Stage
DELPUB - Deleted Publication
Start Date
27-Nov-2013
Completion Date
26-Oct-2025
Ref Project

Relations

Standard
IEC 62448:2009 - Multimedia systems and equipment - Multimedia e-publishing and e-books - Generic format for e-publishing Released:2/25/2009
English language
180 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 62448:2009 - Multimedia systems and equipment - Multimedia e-publishing and e-books - Generic format for e-publishing Released:2/25/2009
English and French language
366 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62448 ®
Edition 2.0 2009-02
INTERNATIONAL
STANDARD
Multimedia systems and equipment – Multimedia E-publishing and E-books –
Generic format for E-publishing

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form

or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,

please contact the address below or your local IEC member National Committee for further information.

IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 62448 ®
Edition 2.0 2009-02
INTERNATIONAL
STANDARD
Multimedia systems and equipment – Multimedia E-publishing and E-books –
Generic format for E-publishing

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XH
ICS 33.160.60; 35.240.30 ISBN 978-2-88910-713-1
– 2 – 62448 © IEC:2009(E)
CONTENTS
FOREWORD.5

INTRODUCTION.7

1 Scope.8

2 Normative references .8

3 Terms and definitions .8

4 Position and requirements for generic format.9

4.1 Generic format in contents creation/distribution model.9

4.2 Requirements for generic format .9
5 Notation .10
6 Logical structure.10
7 Semantics .11
Annex A (normative) BBeB Xylog Format.12
Annex B (normative) XMDF XML format.88
Bibliography.180

Figure 1 – Contents creation/distribution model .9
Figure A.1 – Conceptual diagram of the “Block layout”.31
Figure A.2 – Coordinate system .32
Figure A.3 – Page layout composition .33
Figure A.4 – Block layout composition .34
Figure A.5 – Bgimagemode attribute .40
Figure A.6 – Layout attribute.41
Figure B.1 – XML tree structure .88
Figure B.2 – Example of valign=”middle”.124
Figure B.3 – Example of dropped capital.128
Figure B.4 – Left and right margin of a paragraph .128
Figure B.5 – Horizontal writing in vertical text .131
Figure B.6 – Ruby.132
Figure B.7 – Example of search page object instance rendering .140

Figure B.8 – Comic object Instance.144

Table A.1 – Data types .35
Table A.2 – Attribute of BBeBXylog.35
Table A.3 – Attribute of Info .36
Table A.4 – Attribute of Title .36
Table A.5 – Attribute of Autor.36
Table A.6 – Attribute of Publisher .37
Table A.7 – Attribute of Label .37
Table A.8 – Attribute of Cthumbnail .37
Table A.9 – Attribute of TocLabel.38
Table A.10 – Attribute of Page .39
Table A.11 – Attribute of Wait .42

62448 © IEC:2009(E) – 3 –
Table A.12 – Attribute of TextBlock.43

Table A.13 – rubyalign attribute .45

Table A.14 – rubyadjust attribute .46

Table A.15 – rubyoverhang attribute .46

Table A.16 – empdotsposition attribute .46

Table A.17 – emplineposition attribute .46

Table A.18 – emplinetype attribute.47

Table A.19 – align attribute .47

Table A.20 – blockrule attribute .48
Table A.21 – Attribute of P.49
Table A.22 – Attribute of Plot .50
Table A.23 – Attribute of Fill .51
Table A.24 – Attribute of Space .51
Table A.25 – Attribute of CharButton .51
Table A.26 – Attribute of Gaiji .52
Table A.27 – Attribute of Box .52
Table A.28 – linetype attribute .53
Table A.29 – Attribute of EmpDots .53
Table A.30 – Attribute of Empline.54
Table A.31 – Attribute of DrawChar.54
Table A.32 – Attribute of ImageBlock .55
Table A.33 – Attribute of ButtonBlock .58
Table A.34 – Attribute of BaseButton .60
Table A.35 – Attribute of FocusinButton.60
Table A.36 – Attribute of JumpTo.60
Table A.37 – Attribute of Run.60
Table A.38 – runoption attribute.61
Table A.39 – Attribute of PushButton .61
Table A.40 – Attribute of UpButton.61
Table A.41 – Attribute of Canvas .62
Table A.42 – Attribute of PutObj .63

Table A.43 – Attribute of Moveto.64
Table A.44 – Attribute of Lineto .64
Table A.45 – arrowtype attribute .65
Table A.46 – Attribute of DrawBox .65
Table A.47 – Attribute of DrawEllipse.66
Table A.48 – Attribute of RuledLine .67
Table A.49 – Attribute of BookStyle .67
Table A.50 – Attribute of SetDefault.68
Table A.51 – setwaitprop attribute .69
Table A.52 – Attribute of RegistFont .69
Table A.53 – Attribute of BookSetting .70
Table A.54 – Attribute of TextStyle .71

– 4 – 62448 © IEC:2009(E)
Table A.55 – Attribute of BlockStyle.74

Table A.56 – Attribute of PageStyle .76

Table A.57 – Attribute of Window.79

Table A.58 – Attribute of PopUpWin.79

Table A.59 – Attribute of Sound .80

Table A.60 – Attribute of SoundStream .80

Table A.61 – Attribute of ImageStream .81

Table A.62 – Attribute of Header.81

Table A.63 – Attribute of Footer .82
Table A.64 – Attribute of eSound .83
Table A.65 – Attribute of Font .83
Table A.66 – Attribute of Image .84
Table A.67 – Attribute of Button .85
Table B.1 – Base characters for reading .90
Table B.2 – Standard character set.90
Table B.3 – Usable characters for a telephone number .98
Table B.4 – Characters usable for email addresses .98
Table B.5 – Characters usable for the lookup key .113
Table B.6 – Color names .150
Table B.7 – Examples of additional standard character sets .151
Table B.8 – Example of additional characters usable for readings.151
Table B.9 – Example of additional sorting rules .152
Table B.10 – Example of additional language specific attributes for .153

62448 © IEC:2009(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION

____________
MULTIMEDIA SYSTEMS AND EQUIPMENT –

MULTIMEDIA E-PUBLISHING AND E-BOOKS –

GENERIC FORMAT FOR E-PUBLISHING

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
International Standard IEC 62448 has been prepared by technical area 10: Multimedia e-
publishing and e-book, of IEC technical committee 100: Audio, video and multimedia systems
and equipment.
This second edition cancels and replaces the first edition, published in 2007 and constitutes a
technical revision.
The main changes with respect to the previous edition are listed below.
• Addition of Annex B – XMDF XML format
• Related changes in Clauses 2 and 6.
The text of this standard is based on the following documents:
CDV Report on voting
100/1386A/CDV 100/1501/RVC
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.

– 6 – 62448 © IEC:2009(E)
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.

The committee has decided that the contents of this publication will remain unchanged until

the maintenance result date indicated on the IEC web site under "http://webstore.iec.ch" in

the data related to the specific publication. At this date, the publication will be

• reconfirmed,
• withdrawn,
• replaced by a revised edition, or

• amended.
A bilingual version of this publication may be issued at a later date.

62448 © IEC:2009(E) – 7 –
INTRODUCTION
Markets for multimedia e-book and e-publishing require standardization of formats for e-book

data interchange among associated people; authors, data preparers, publishers and readers.

The formats are classified into submission format, generic format and reader’s format. The

submission format has to support an interaction between authors and data preparers. The

reader’s format depends on e-publishing equipment. The generic format has to provide an

interchange format for data preparers and publishers and therefore should be e-publishing

equipment independent.
The International Electrotechnical Commission (IEC) draws attention to the fact that it is

claimed that compliance with this document may involve the use of patents.
Sony Corporation has informed IEC that it has patent applications or granted patents.
The IEC takes no position concerning the evidence, validity and scope of this patent right.
The holder of this patent right has assured the IEC that he/she is willing to negotiate licences
under reasonable and non-discriminatory terms and conditions with applicants throughout the
world. In this respect, the statement of the holder of this patent right is registered with the IEC.
Information may be obtained from:
Sony Corporation
6-7-35 Kitashinagawa, Shinagawa-ku
JP – Tokyo 141-0001
Sharp Corporation has informed IEC that it has patent applications or granted patents.
The IEC takes no position concerning the evidence, validity and scope of this patent right.
The holder of this patent right has assured the IEC that he/she is willing to negotiate licences
under reasonable and non-discriminatory terms and conditions with applicants throughout the
world. In this respect, the statement of the holder of this patent right is registered with the IEC.
Information may be obtained from:
Sharp Corporation
Platform Technology Development Center
2613-1, Ichinomoto-cho, Tenri, Nara
632-8587 JAPAN
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. The IEC shall not be held

responsible for identifying any or all such patent rights.

– 8 – 62448 © IEC:2009(E)
MULTIMEDIA SYSTEMS AND EQUIPMENT –

MULTIMEDIA E-PUBLISHING AND E-BOOKS –

GENERIC FORMAT FOR E-PUBLISHING

1 Scope
This International Standard specifies a generic format for multimedia e-publishing employed

for e-book data interchange among data preparers and publishers, satisfying a number of
publishers requirements: revisable, extensible and heterogeneous logical structure.
2 Normative references
The following referenced documents are indispensable for the application of this document.
For dated references, only the edition cited applies. For undated references, the latest edition
of the referenced document (including any amendments) applies.
IEC/TS 62229:2006, Multimedia systems and equipment – Multimedia e-publishing and
e-book – Conceptual model for multimedia e-publishing
ISO 639(all parts), Codes for the representation of names of languages
ISO 646, Information technolgy – ISO 7-bit-coded character set for information interchange
ISO 3166-1, Codes for the representation of names of countries and their subdivisions –
Part 1: Country codes
ISO 8601, Data elements and interchange formats – Information interchange – Represen-
tation of dates and times
ISO/IEC 10646, Information technolgy – Universal Multiple-Octet Coded Character Set (UCS)
Amendment 1 (2005)
Amendment 2 (2006)
Amendment 3 (2008)
Amendment 4 (2008)
Amendment 5 (2008)
ISO/IEC 19757-2:2003, Information technology – Document Schema Definition Language

(DSDL) – Part 2: Regular-grammar based validation – RELAX NG
Amendment 1 (2006)
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.1
multimedia e-book
multimedia content consisting of texts, graphics, sounds and/or videos
[IEC 62229, 3.2]
62448 © IEC:2009(E) – 9 –
3.2
data preparer
organization or person that prepares an e-book; an editor is an example of a preparer

[IEC 62229, 3.3 modified]
3.3
publisher
organization or person that issues and distributes an e-book

[IEC 62229, 3.4]
3.4
generic format
format for multimedia e-book contents created and edited by a data preparer and modified by
a publisher to a reader's format for e-book distribution
4 Position and requirements for generic format
4.1 Generic format in contents creation/distribution model
The conceptual model for multimedia e-publishing [IEC 62229] defines a contents creation/
distribution model shown in Figure 1.
Author <--(1)--> Data preparer <--(2)--> Publisher --(3)--> Reader
IEC  2379/06
Figure 1 – Contents creation/distribution model
Between the adjacent processing steps, data preparer and publisher, e-book contents data
are interchanged using the generic format. Merging original texts, graphics, sounds and/or
videos provided by authors, the data preparer creates and edits the e-book data in a generic
format. The e-book data are stored and forwarded to the publishers.
Publishers modify the generic format into reader’s formats appropriate for distribution
schemes and devices. The generic format can be used for e-book distribution as well.
4.2 Requirements for generic format
The generic format can satisfy the following requirements of the data preparer and the

publisher:
a) logical structure:
the generic format has to have a logical structure that can easily be revised;
b) style specification:
the logical elements in the generic format should be rendered in accordance with a style
specification for creating an appropriate reader’s format;
c) heterogeneous structures:
multimedia e-books may include heterogeneous structures such as mathematics,
chemistry and music notes according to the genre of contents. Those specific structures
should be imported to the generic format;
d) metadata:
the generic format should support some metadata to manage the e-book contents data.

– 10 – 62448 © IEC:2009(E)
5 Notation
The logical structure of generic format is described by using RELAX NG schema,

ISO/IEC 19757-2.
6 Logical structure
The logical structure of generic format: ebook-g, provides a simple and extensible format

ebook-g-core and existing and actually employed formats bbebxylog and xmdf. The structures

of bbebxylog and xmdf are shown in Annex A and Annex B, respectively.

default namespace= http://tc100.iec.ch/2005/ebook/generic
start = ebook-g
ebook-g = ebook-g-core
| external "bbebxylog.rnc"
| external "xmdf.rnc"
ebook-g-core = meta-g & body-g
meta-g = external "meta-g.rnc"
body-g = element body-g { body }
body =
title*,
foreword*,
introduction*,
titled-clause+,
annex*,
bibliography*
title = element title {
element main { text },
element sub { text }?
}
foreword = element foreword { text }
introduction = element introduction { block+ }
titled-clause = element clause { id, title, clause-content }
clause-content =
(titled-clause, titled-clause+) | untitled-clause-content
untitled-clause-content = (untitled-clause, untitled-clause+) | block+
untitled-clause = element clause { id, untitled-clause-content }
referenced-document =
element referenced-document {
id,
element abbrev { text },
element title { text },
element field { text }*,
element url { xsd:anyURI }
}
annex =
element annex {
62448 © IEC:2009(E) – 11 –
id,
title,
clause-content
}
bibliography = element bibliography { referenced-document+ }

block = p | ol | ul | example | note | pre | float

p = element p { inline }
float = table | figure
table = external "table.rnc"
figure = external "figure.rnc"
ol =
element ol {
element li { id, block+ }+
}
ul =
element ul {
element li { block+ }+
}
example = element example { p+ }
note = element note { p+ }
pre = element pre { pre-content }
pre-content =
(text
| element var { pre-content })*
inline =
(text
| element code | b | i | var { inline }
| ref
| strong)*
ref =
element ref {
attribute to { xsd:IDREF }
}
id = attribute id { xsd:ID }?
strong = element strong { text }
7 Semantics
Elements of ebook-g-core should be rendered in accordance with appropriate style
specifications. Actual style specifications by style languages, for example XSL or DSSSL, are
outside the scope of this standard.
The contents of meta-g.rnc, table.rnc and figure.rnc are not specified within an architecture of
the ebook-g-core.
– 12 – 62448 © IEC:2009(E)
Annex A
(normative)
BBeB Xylog Format
A.1 General
This annex specifies the bbebxylog format mentioned in Clause 6.

This format is intended to be used for two kinds of users, that is, the e-Book contents
producer and the related tool developer. Those who produce contents can use this
specification as a generic contents data storage format based on the international standard
specification. The related tool developer can use it as a reference to decide on the
specification for the display equipment and to define the conversion rule between this
specification and the other data forms such as any types of XML or HTML.
The feature of this specification specified in this annex includes the following:
a) "expression of book on paper" concerning two screens layout and modified characters, etc.
b) "expression of digital" such as sound, page jump and interactive action, etc.
The elements necessary for the above-mentioned expressions and their smooth operations
are defined in this specification.
A.2 Structure description
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
namespace sch = "http://www.ascc.net/xml/schematron"
DrawChar =
(element.Plot
| element.CR
| element.Fill
| element.CharButton
| element.Yoko
| element.Tate
| element.Nekase
| element.NoBR
| element.DrawChar
| element.Italic
| element.Bold
| SimpleChar1)*
SimpleChar1 =
62448 © IEC:2009(E) – 13 –
(element.Rubi
| element.Box
| element.EmpDots
| element.EmpLine
| element.Sub
| element.Sup
| element.Space
| SimpleChar0)*
SimpleChar0 = (text | element.Gaiji | element.AltString)*
SimpleChar2 = (element.Plot | SimpleChar0)*
# BBeB XML Xylog Basic
element.BBeBXylog =
element BBeBXylog {
attlist.version,
element.BookInformation,
element.Main,
element.Style,
element.Objects
}
attlist.version &=
attribute version { text }
>> a:documentation [
' Constraint: Current "version" attribute value is "1.0" '

]
element.BookInformation =
element BookInformation { element.Info, element.TOC }
element.Info =
element Info {
attlist.version, element.BookInfo, element.DocInfo, element.Keyword*
}
element.BookInfo =
element BookInfo {
– 14 – 62448 © IEC:2009(E)
element.Title,
element.Author,
element.BookID,
element.Publisher,
element.Label,
element.Category*,
element.Classification,
element.FreeText
}
element.Title = element Title { attlist.reading, text }
attlist.reading &= attribute reading { text }
element.Author = element Author { attlist.reading, text }
element.BookID = element BookID { text }
element.Publisher = element Publisher { attlist.reading, text }
element.Label = element Label { attlist.reading, text }
element.Category = element Category { text }
element.Classification = element Classification { text }
element.FreeText = element FreeText { text }
element.DocInfo =
element DocInfo {
element.CThumbnail,
element.Language,
element.Creator,
element.SumPage
}
element.CThumbnail = element CThumbnail { attlist.CThumbnail }
attlist.CThumbnail &= attribute file { text }
element.Language =
element Language {
xsd:string { length = "2" }
>> a:documentation [
" Constraint: Set two-letter primary language code which is specified in ISO 639."

62448 © IEC:2009(E) – 15 –
]
}
element.Creator = element Creator { text }

element.SumPage = element SumPage { text }

element.Keyword = element Keyword { text }

element.TOC = element TOC { element.TocLabel* }

element.TocLabel = element TocLabel { attlist.jump, text }
element.Main = element Main { element.Page+ }
element.Page =
element Page {
attlist.Page,
element.Common.Page
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "Page"
"\x{a}" ~
"     "
sch:assert [
test = "@pagestyle = //Style/PageStyle/@stylelabel"
"No PageStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
]
}
element.Common.Page =
– 16 – 62448 © IEC:2009(E)
(element.Common.Objects
| element.BlockSpace
| element.RuledLine
| element.Wait)*
attlist.id &= attribute objid { xsd:string }

attlist.refid &= attribute refobj { xsd:string }

attlist.refstream &= attribute refstream { xsd:string }
attlist.Page &=
attlist.id,
attribute pagestyle { text },
attlist.Common.Page
element.TextBlock =
element TextBlock {
attlist.TextBlock,
((element.P | element.CR)*)
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "TextBlock"
"\x{a}" ~
"     "
sch:assert [
test = "@blockstyle = //Style/BlockStyle/@stylelabel"
"No BlockStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
62448 © IEC:2009(E) – 17 –
]
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "TextBlock"
"\x{a}" ~
"     "
sch:assert [
test = "@textstyle = //Style/TextStyle/@stylelabel"
"No TextStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
]
}
attlist.TextBlock &=
attlist.id,
attribute textstyle { text },
attribute blockstyle { text },
attlist.Common.Text,
attlist.Common.Block
element.P = element P { attlist.P, DrawChar }
attlist.P &= attribute refesound { xsd:string }?
element.Plot = element Plot { attlist.Plot, text }
attlist.xsize &= attribute xsize { xsd:unsignedShort }
attlist.ysize &= attribute ysize { xsd:unsignedShort }
attlist.Plot &=
– 18 – 62448 © IEC:2009(E)
attlist.xsize,
attlist.ysize,
attlist.refid,
[ a:defaultValue = "bottom" ]
attribute adjustment { "center" | "baseline" | "top" | "bottom" }?

element.CR = element CR { empty }

element.Fill =
element Fill {
attribute code { text },
empty
}
element.Space = element Space { attlist.xsize, empty }
element.CharButton = element CharButton { attlist.refid, SimpleChar1 }
element.Rubi = element Rubi { (element.Oyamoji, element.Rubimoji)+ }
element.Oyamoji = element Oyamoji { SimpleChar0 }
element.Gaiji = element Gaiji { attlist.Gaiji, text }
attlist.Gaiji &=
attlist.refid,
attribute fontfacename { text }?,
attribute code { text }
element.AltString = element AltString { element.Org, element.Alt }
element.Org = element Org { text }
element.Alt = element Alt { text }

element.Rubimoji = element Rubimoji { SimpleChar0 }
element.Box = element Box { attlist.Box, SimpleChar0 }
attlist.linetype &=
attribute linetype { "solid" | "dotted" | "dashed" | "double" }
attlist.Box &= attlist.linetype?
element.EmpDots = element EmpDots { attlist.EmpDots, SimpleChar0 }
attlist.Empdotsposition &=
attribute empdotsposition { "before" | "after" }
attlist.EmpdotsChar &=
62448 © IEC:2009(E) – 19 –
attribute empdotscode { text },

attribute empdotsfontname { text },

attribute refempdotsfont { text }

attlist.EmpDots &= attlist.Empdotsposition?, attlist.EmpdotsChar?

element.EmpLine = element EmpLine { attlist.EmpLine, SimpleChar0 }

attlist.Emplineposition &=
attribute emplineposition { "before" | "after" }
attlist.Emplinetype &=
attribute emplinetype {
"none" | "solid" | "dotted" | "dashed" | "double"
}
attlist.EmpLine &= attlist.Emplinetype?, attlist.Emplineposition?
element.Sub = element Sub { SimpleChar0 }
element.Sup = element Sup { SimpleChar0 }
element.Yoko = element Yoko { SimpleChar0 }
element.Tate = element Tate { SimpleChar2 }
element.Nekase = element Nekase { SimpleChar2 }
element.NoBR = element NoBR { SimpleChar1 }
element.DrawChar =
element DrawChar {
attribute line { xsd:unsignedShort },
SimpleChar0
}
element.Italic = element Italic { DrawChar }
element.Bold = element Bold { DrawChar }
element.ImageBlock =
element ImageBlock { attlist.ImageBlock, text }
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"   "
sch:rule [
– 20 – 62448 © IEC:2009(E)
context = "Page"
"\x{a}" ~
"    "
sch:assert [
test = "@blockstyle = //Style/BlockStyle/@stylelabel"

"No BlockStyle"
]
"\x{a}" ~
"   "
]
"\x{a}" ~
"  "
]
attlist.ImageBlock &=
attlist.id,
attribute blockstyle { text },
attlist.Common.Block,
attlist.Common.Image
element.ButtonBlock =
element ButtonBlock {
attlist.ButtonBlock,
element.BaseButton?,
element.FocusinButton?,
element.PushButton?,
(element.UpButton?)
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "ButtonBlock"
"\x{a}" ~
62448 © IEC:2009(E) – 21 –
"     "
sch:assert [
test = "@blockstyle = //Style/BlockStyle/@stylelabel"

"No BlockStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
]
}
attlist.ButtonBlock &=
attlist.id,
attribute blockstyle { text },
attlist.Common.Block
attlist.refimage &= attribute refimage { xsd:string }
element.BaseButton = element BaseButton { attlist.refimage?, empty }
element.FocusinButton =
element FocusinButton {
attlist.refimage?,
(element.JumpTo
| element.Run
| element.SoundStop
| element.CloseWindow)*
}
element.JumpTo = element JumpTo { attlist.jump, empty }
attlist.jump &=
attribute refpage { xsd:string },
attlist.refid
element.Run = element Run { attlist.Run, empty }
attlist.Run &=
– 22 – 62448 © IEC:2009(E)
[ a:defaultValue = "normal" ]
attribute runoption {
"normal" | "opposite" | "center" | "opposite-center"

}?,
attlist.refid
element.SoundStop = element SoundStop { empty }

element.CloseWindow = element CloseWindow { empty }
element.PushButton =
element PushButton {
attlist.refimage?,
(element.JumpTo
| element.Run
| element.SoundStop
| element.CloseWindow)*
}
element.UpButton =
element UpButton {
attlist.refimage?,
(element.JumpTo
| element.Run
| element.SoundStop
| element.CloseWindow)*
}
element.BlockSpace = element BlockSpace { attlist.BlockSpace, empty }
attlist.BlockSpace &=
attribute xspace { xsd:short }?,
attribute yspace { xsd:short }?
element.Canvas =
element Canvas {
attlist.Canvas, (element.Common.Canvas | element.Wait)*
}
element.Common.Canvas =
62448 © IEC:2009(E) – 23 –
element.PutObj
| element.Moveto
| element.Lineto
| element.DrawBox
| element.DrawEllipse
attlist.Canvas &=
attribute canvaswidth { xsd:unsignedShort },
attribute canvasheight { xsd:unsignedShort },
attribute blockrule { "block-fixed" | "block-adjustable" }?,
attlist.id,
attlist.Common.Canvas
attlist.Layout &= attribute layout { "LrTb" | "TbRl" }
attlist.Common.Frame &=
attribute framewidth { xsd:unsignedShort }?,
attribute framecolor { text }?,
attribute framemode { "curve" | "square" }?
attlist.Common.Canvas &=
attribute bgcolor { text }?,
attlist.Layout?,
attlist.Common.Frame
element.PutObj = element PutObj { attlist.PutObj, empty }
attlist.x1.unsigned &= attribute x1 { xsd:unsignedShort }
attlist.x1.signed &= attribute x1 { xsd:short }

attlist.y1.unsigned &= attribute y1 { xsd:unsignedShort }
attlist.y1.signed &= attribute y1 { xsd:short }
attlist.PutObj &=
attlist.x1.unsigned, attlist.y1.unsigned, attlist.refid
element.Wait =
element Wait {
attribute time { xsd:short },
empty
}
– 24 – 62448 © IEC:2009(E)
element.Moveto =
element Moveto { attlist.x1.signed, attlist.y1.signed, empty }

element.Lineto = element Lineto { attlist.Lineto, empty }

attlist.Common.line &=
attribute linewidth { xsd:unsignedShort }?,

attribute linecolor { text }?,

attlist.linetype?
attlist.Lineto &=
attlist.x1.signed,
attlist.y1.signed,
attlist.Common.line,
attribute arrowtype { text }?
element.DrawBox = element DrawBox { attlist.DrawBox, empty }
attlist.DrawBox &=
attlist.x1.signed,
attlist.y1.signed,
attlist.Common.line,
attribute fillcolor { text }?
element.DrawEllipse = element DrawEllipse { attlist.DrawEllipse, empty }
attlist.DrawEllipse &=
attlist.x1.signed,
attlist.y1.signed,
attlist.Common.line,
attribute fillcolor { text }?
element.RuledLine = element RuledLine { attlist.RuledLine, empty }
attlist.RuledLine &=
attlist.linetype,
attribute linewidth { xsd:unsignedShort },
attribute linelength { xsd:unsignedShort },
attribute linecolor { text }?
element.Style =
element Style {
62448 © IEC:2009(E) – 25 –
element.BookStyle,
(element.TextStyle | element.BlockStyle | element.PageStyle)*

}
element.BookStyle =
element BookStyle {
attlist.Style,
element.SetDefault?,
element.RegistFont*,
element.BookSetting
}
attlist.Style &=
at
...


IEC 62448 ®
Edition 2.0 2009-02
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Multimedia systems and equipment – Multimedia e-publishing and e-books –
Generic format for E-publishing

Systèmes et équipements multimédia – Publication et livres électroniques
multimédia – Format générique pour la publication électronique

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by
any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or
IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI ou si vous désirez obtenir des droits supplémentaires sur cette
publication, utilisez les coordonnées ci-après ou contactez le Comité national de la CEI de votre pays de résidence.

IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
A propos de la CEI
La Commission Electrotechnique Internationale (CEI) est la première organisation mondiale qui élabore et publie des
normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.
ƒ Catalogue des publications de la CEI: www.iec.ch/searchpub/cur_fut-f.htm
Le Catalogue en-ligne de la CEI vous permet d’effectuer des recherches en utilisant différents critères (numéro de référence,
texte, comité d’études,…). Il donne aussi des informations sur les projets et les publications retirées ou remplacées.
ƒ Just Published CEI: www.iec.ch/online_news/justpub
Restez informé sur les nouvelles publications de la CEI. Just Published détaille deux fois par mois les nouvelles
publications parues. Disponible en-ligne et aussi par email.
ƒ Electropedia: www.electropedia.org
Le premier dictionnaire en ligne au monde de termes électroniques et électriques. Il contient plus de 20 000 termes et
définitions en anglais et en français, ainsi que les termes équivalents dans les langues additionnelles. Egalement appelé
Vocabulaire Electrotechnique International en ligne.
ƒ Service Clients: www.iec.ch/webstore/custserv/custserv_entry-f.htm
Si vous désirez nous donner des commentaires sur cette publication ou si vous avez des questions, visitez le FAQ du
Service clients ou contactez-nous:
Email: csc@iec.ch
Tél.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 62448 ®
Edition 2.0 2009-02
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Multimedia systems and equipment – Multimedia e-publishing and e-books –
Generic format for E-publishing

Systèmes et équipements multimédia – Publication et livres électroniques
multimédia – Format générique pour la publication électronique

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
XH
CODE PRIX
ICS 33.160.60, 35.240.30 ISBN 978-2-88910-714-8
– 2 – 62448 © IEC:2009
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
2 Normative references .8
3 Terms and definitions .8
4 Position and requirements for generic format.9
4.1 Generic format in contents creation/distribution model.9
4.2 Requirements for generic format .9
5 Notation .10
6 Logical structure.10
7 Semantics .11
Annex A (normative) BBeB Xylog Format.12
Annex B (normative) XMDF XML format.88
Bibliography.180

Figure 1 – Contents creation/distribution model .9
Figure A.1 – Conceptual diagram of the “Block layout”.31
Figure A.2 – Coordinate system .32
Figure A.3 – Page layout composition .33
Figure A.4 – Block layout composition .34
Figure A.5 – Bgimagemode attribute .40
Figure A.6 – Layout attribute.41
Figure B.1 – XML tree structure .88
Figure B.2 – Example of valign=”middle”.124
Figure B.3 – Example of dropped capital.128
Figure B.4 – Left and right margin of a paragraph .128
Figure B.5 – Horizontal writing in vertical text .131
Figure B.6 – Ruby.132
Figure B.7 – Example of search page object instance rendering .140
Figure B.8 – Comic object Instance.144

Table A.1 – Data types .35
Table A.2 – Attribute of BBeBXylog.35
Table A.3 – Attribute of Info .36
Table A.4 – Attribute of Title .36
Table A.5 – Attribute of Autor.36
Table A.6 – Attribute of Publisher .37
Table A.7 – Attribute of Label .37
Table A.8 – Attribute of Cthumbnail .37
Table A.9 – Attribute of TocLabel.38
Table A.10 – Attribute of Page .39
Table A.11 – Attribute of Wait .42

62448 © IEC:2009 – 3 –
Table A.12 – Attribute of TextBlock.43
Table A.13 – rubyalign attribute .45
Table A.14 – rubyadjust attribute .46
Table A.15 – rubyoverhang attribute .46
Table A.16 – empdotsposition attribute .46
Table A.17 – emplineposition attribute .46
Table A.18 – emplinetype attribute.47
Table A.19 – align attribute .47
Table A.20 – blockrule attribute .48
Table A.21 – Attribute of P.49
Table A.22 – Attribute of Plot .50
Table A.23 – Attribute of Fill .51
Table A.24 – Attribute of Space .51
Table A.25 – Attribute of CharButton .51
Table A.26 – Attribute of Gaiji .52
Table A.27 – Attribute of Box .52
Table A.28 – linetype attribute .53
Table A.29 – Attribute of EmpDots .53
Table A.30 – Attribute of Empline.54
Table A.31 – Attribute of DrawChar.54
Table A.32 – Attribute of ImageBlock .55
Table A.33 – Attribute of ButtonBlock .58
Table A.34 – Attribute of BaseButton .60
Table A.35 – Attribute of FocusinButton.60
Table A.36 – Attribute of JumpTo.60
Table A.37 – Attribute of Run.60
Table A.38 – runoption attribute.61
Table A.39 – Attribute of PushButton .61
Table A.40 – Attribute of UpButton.61
Table A.41 – Attribute of Canvas .62
Table A.42 – Attribute of PutObj .63
Table A.43 – Attribute of Moveto.64
Table A.44 – Attribute of Lineto .64
Table A.45 – arrowtype attribute .65
Table A.46 – Attribute of DrawBox .65
Table A.47 – Attribute of DrawEllipse.66
Table A.48 – Attribute of RuledLine .67
Table A.49 – Attribute of BookStyle .67
Table A.50 – Attribute of SetDefault.68
Table A.51 – setwaitprop attribute .69
Table A.52 – Attribute of RegistFont .69
Table A.53 – Attribute of BookSetting .70
Table A.54 – Attribute of TextStyle .71

– 4 – 62448 © IEC:2009
Table A.55 – Attribute of BlockStyle.74
Table A.56 – Attribute of PageStyle .76
Table A.57 – Attribute of Window.79
Table A.58 – Attribute of PopUpWin.79
Table A.59 – Attribute of Sound .80
Table A.60 – Attribute of SoundStream .80
Table A.61 – Attribute of ImageStream .81
Table A.62 – Attribute of Header.81
Table A.63 – Attribute of Footer .82
Table A.64 – Attribute of eSound .83
Table A.65 – Attribute of Font .83
Table A.66 – Attribute of Image .84
Table A.67 – Attribute of Button .85
Table B.1 – Base characters for reading .90
Table B.2 – Standard character set.90
Table B.3 – Usable characters for a telephone number .98
Table B.4 – Characters usable for email addresses .98
Table B.5 – Characters usable for the lookup key .113
Table B.6 – Color names .150
Table B.7 – Examples of additional standard character sets .151
Table B.8 – Example of additional characters usable for readings.151
Table B.9 – Example of additional sorting rules .152
Table B.10 – Example of additional language specific attributes for .153

62448 © IEC:2009 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
MULTIMEDIA SYSTEMS AND EQUIPMENT –
MULTIMEDIA E-PUBLISHING AND E-BOOKS –
GENERIC FORMAT FOR E-PUBLISHING

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
International Standard IEC 62448 has been prepared by technical area 10: Multimedia e-
publishing and e-book, of IEC technical committee 100: Audio, video and multimedia systems
and equipment.
This second edition cancels and replaces the first edition, published in 2007 and constitutes a
technical revision.
The main changes with respect to the previous edition are listed below.
• Addition of Annex B – XMDF XML format
• Related changes in Clauses 2 and 6.
This bilingual version, published in 2009-06, corresponds to the English version.

– 6 – 62448 © IEC:2009
The text of this standard is based on the following documents:
CDV Report on voting
100/1386A/CDV 100/1501/RVC
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
The French version of this standard has not been voted upon.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
The committee has decided that the contents of this publication will remain unchanged until
the maintenance result date indicated on the IEC web site under "http://webstore.iec.ch" in
the data related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
62448 © IEC:2009 – 7 –
INTRODUCTION
Markets for multimedia e-book and e-publishing require standardization of formats for e-book
data interchange among associated people; authors, data preparers, publishers and readers.
The formats are classified into submission format, generic format and reader’s format. The
submission format has to support an interaction between authors and data preparers. The
reader’s format depends on e-publishing equipment. The generic format has to provide an
interchange format for data preparers and publishers and therefore should be e-publishing
equipment independent.
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of patents.
Sony Corporation has informed IEC that it has patent applications or granted patents.
The IEC takes no position concerning the evidence, validity and scope of this patent right.
The holder of this patent right has assured the IEC that he/she is willing to negotiate licences
under reasonable and non-discriminatory terms and conditions with applicants throughout the
world. In this respect, the statement of the holder of this patent right is registered with the IEC.
Information may be obtained from:
Sony Corporation
6-7-35 Kitashinagawa, Shinagawa-ku
JP – Tokyo 141-0001
Sharp Corporation has informed IEC that it has patent applications or granted patents.
The IEC takes no position concerning the evidence, validity and scope of this patent right.
The holder of this patent right has assured the IEC that he/she is willing to negotiate licences
under reasonable and non-discriminatory terms and conditions with applicants throughout the
world. In this respect, the statement of the holder of this patent right is registered with the IEC.
Information may be obtained from:
Sharp Corporation
Platform Technology Development Center
2613-1, Ichinomoto-cho, Tenri, Nara
632-8587 JAPAN
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. The IEC shall not be held
responsible for identifying any or all such patent rights.

– 8 – 62448 © IEC:2009
MULTIMEDIA SYSTEMS AND EQUIPMENT –
MULTIMEDIA E-PUBLISHING AND E-BOOKS –
GENERIC FORMAT FOR E-PUBLISHING

1 Scope
This International Standard specifies a generic format for multimedia e-publishing employed
for e-book data interchange among data preparers and publishers, satisfying a number of
publishers requirements: revisable, extensible and heterogeneous logical structure.
2 Normative references
The following referenced documents are indispensable for the application of this document.
For dated references, only the edition cited applies. For undated references, the latest edition
of the referenced document (including any amendments) applies.
IEC/TS 62229:2006, Multimedia systems and equipment – Multimedia e-publishing and
e-book – Conceptual model for multimedia e-publishing
ISO 639(all parts), Codes for the representation of names of languages
ISO 646, Information technolgy – ISO 7-bit-coded character set for information interchange
ISO 3166-1, Codes for the representation of names of countries and their subdivisions –
Part 1: Country codes
ISO 8601, Data elements and interchange formats – Information interchange – Represen-
tation of dates and times
ISO/IEC 10646, Information technolgy – Universal Multiple-Octet Coded Character Set (UCS)
Amendment 1 (2005)
Amendment 2 (2006)
Amendment 3 (2008)
Amendment 4 (2008)
Amendment 5 (2008)
ISO/IEC 19757-2:2003, Information technology – Document Schema Definition Language
(DSDL) – Part 2: Regular-grammar based validation – RELAX NG
Amendment 1 (2006)
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.1
multimedia e-book
multimedia content consisting of texts, graphics, sounds and/or videos
[IEC 62229, 3.2]
62448 © IEC:2009 – 9 –
3.2
data preparer
organization or person that prepares an e-book; an editor is an example of a preparer
[IEC 62229, 3.3 modified]
3.3
publisher
organization or person that issues and distributes an e-book
[IEC 62229, 3.4]
3.4
generic format
format for multimedia e-book contents created and edited by a data preparer and modified by
a publisher to a reader's format for e-book distribution
4 Position and requirements for generic format
4.1 Generic format in contents creation/distribution model
The conceptual model for multimedia e-publishing [IEC 62229] defines a contents creation/
distribution model shown in Figure 1.
Author <--(1)--> Data preparer <--(2)--> Publisher --(3)--> Reader
IEC  2379/06
Figure 1 – Contents creation/distribution model
Between the adjacent processing steps, data preparer and publisher, e-book contents data
are interchanged using the generic format. Merging original texts, graphics, sounds and/or
videos provided by authors, the data preparer creates and edits the e-book data in a generic
format. The e-book data are stored and forwarded to the publishers.
Publishers modify the generic format into reader’s formats appropriate for distribution
schemes and devices. The generic format can be used for e-book distribution as well.
4.2 Requirements for generic format
The generic format can satisfy the following requirements of the data preparer and the
publisher:
a) logical structure:
the generic format has to have a logical structure that can easily be revised;
b) style specification:
the logical elements in the generic format should be rendered in accordance with a style
specification for creating an appropriate reader’s format;
c) heterogeneous structures:
multimedia e-books may include heterogeneous structures such as mathematics,
chemistry and music notes according to the genre of contents. Those specific structures
should be imported to the generic format;
d) metadata:
the generic format should support some metadata to manage the e-book contents data.

– 10 – 62448 © IEC:2009
5 Notation
The logical structure of generic format is described by using RELAX NG schema,
ISO/IEC 19757-2.
6 Logical structure
The logical structure of generic format: ebook-g, provides a simple and extensible format
ebook-g-core and existing and actually employed formats bbebxylog and xmdf. The structures
of bbebxylog and xmdf are shown in Annex A and Annex B, respectively.
default namespace= http://tc100.iec.ch/2005/ebook/generic
start = ebook-g
ebook-g = ebook-g-core
| external "bbebxylog.rnc"
| external "xmdf.rnc"
ebook-g-core = meta-g & body-g
meta-g = external "meta-g.rnc"
body-g = element body-g { body }
body =
title*,
foreword*,
introduction*,
titled-clause+,
annex*,
bibliography*
title = element title {
element main { text },
element sub { text }?
}
foreword = element foreword { text }
introduction = element introduction { block+ }
titled-clause = element clause { id, title, clause-content }
clause-content =
(titled-clause, titled-clause+) | untitled-clause-content
untitled-clause-content = (untitled-clause, untitled-clause+) | block+
untitled-clause = element clause { id, untitled-clause-content }
referenced-document =
element referenced-document {
id,
element abbrev { text },
element title { text },
element field { text }*,
element url { xsd:anyURI }
}
annex =
element annex {
62448 © IEC:2009 – 11 –
id,
title,
clause-content
}
bibliography = element bibliography { referenced-document+ }
block = p | ol | ul | example | note | pre | float
p = element p { inline }
float = table | figure
table = external "table.rnc"
figure = external "figure.rnc"
ol =
element ol {
element li { id, block+ }+
}
ul =
element ul {
element li { block+ }+
}
example = element example { p+ }
note = element note { p+ }
pre = element pre { pre-content }
pre-content =
(text
| element var { pre-content })*
inline =
(text
| element code | b | i | var { inline }
| ref
| strong)*
ref =
element ref {
attribute to { xsd:IDREF }
}
id = attribute id { xsd:ID }?
strong = element strong { text }
7 Semantics
Elements of ebook-g-core should be rendered in accordance with appropriate style
specifications. Actual style specifications by style languages, for example XSL or DSSSL, are
outside the scope of this standard.
The contents of meta-g.rnc, table.rnc and figure.rnc are not specified within an architecture of
the ebook-g-core.
– 12 – 62448 © IEC:2009
Annex A
(normative)
BBeB Xylog Format
A.1 General
This annex specifies the bbebxylog format mentioned in Clause 6.
This format is intended to be used for two kinds of users, that is, the e-Book contents
producer and the related tool developer. Those who produce contents can use this
specification as a generic contents data storage format based on the international standard
specification. The related tool developer can use it as a reference to decide on the
specification for the display equipment and to define the conversion rule between this
specification and the other data forms such as any types of XML or HTML.
The feature of this specification specified in this annex includes the following:
a) "expression of book on paper" concerning two screens layout and modified characters, etc.
b) "expression of digital" such as sound, page jump and interactive action, etc.
The elements necessary for the above-mentioned expressions and their smooth operations
are defined in this specification.
A.2 Structure description
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
namespace sch = "http://www.ascc.net/xml/schematron"
DrawChar =
(element.Plot
| element.CR
| element.Fill
| element.CharButton
| element.Yoko
| element.Tate
| element.Nekase
| element.NoBR
| element.DrawChar
| element.Italic
| element.Bold
| SimpleChar1)*
SimpleChar1 =
62448 © IEC:2009 – 13 –
(element.Rubi
| element.Box
| element.EmpDots
| element.EmpLine
| element.Sub
| element.Sup
| element.Space
| SimpleChar0)*
SimpleChar0 = (text | element.Gaiji | element.AltString)*
SimpleChar2 = (element.Plot | SimpleChar0)*
# BBeB XML Xylog Basic
element.BBeBXylog =
element BBeBXylog {
attlist.version,
element.BookInformation,
element.Main,
element.Style,
element.Objects
}
attlist.version &=
attribute version { text }
>> a:documentation [
' Constraint: Current "version" attribute value is "1.0" '
]
element.BookInformation =
element BookInformation { element.Info, element.TOC }
element.Info =
element Info {
attlist.version, element.BookInfo, element.DocInfo, element.Keyword*
}
element.BookInfo =
element BookInfo {
– 14 – 62448 © IEC:2009
element.Title,
element.Author,
element.BookID,
element.Publisher,
element.Label,
element.Category*,
element.Classification,
element.FreeText
}
element.Title = element Title { attlist.reading, text }
attlist.reading &= attribute reading { text }
element.Author = element Author { attlist.reading, text }
element.BookID = element BookID { text }
element.Publisher = element Publisher { attlist.reading, text }
element.Label = element Label { attlist.reading, text }
element.Category = element Category { text }
element.Classification = element Classification { text }
element.FreeText = element FreeText { text }
element.DocInfo =
element DocInfo {
element.CThumbnail,
element.Language,
element.Creator,
element.SumPage
}
element.CThumbnail = element CThumbnail { attlist.CThumbnail }
attlist.CThumbnail &= attribute file { text }
element.Language =
element Language {
xsd:string { length = "2" }
>> a:documentation [
" Constraint: Set two-letter primary language code which is specified in ISO 639."

62448 © IEC:2009 – 15 –
]
}
element.Creator = element Creator { text }
element.SumPage = element SumPage { text }
element.Keyword = element Keyword { text }
element.TOC = element TOC { element.TocLabel* }
element.TocLabel = element TocLabel { attlist.jump, text }
element.Main = element Main { element.Page+ }
element.Page =
element Page {
attlist.Page,
element.Common.Page
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "Page"
"\x{a}" ~
"     "
sch:assert [
test = "@pagestyle = //Style/PageStyle/@stylelabel"
"No PageStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
]
}
element.Common.Page =
– 16 – 62448 © IEC:2009
(element.Common.Objects
| element.BlockSpace
| element.RuledLine
| element.Wait)*
attlist.id &= attribute objid { xsd:string }
attlist.refid &= attribute refobj { xsd:string }
attlist.refstream &= attribute refstream { xsd:string }
attlist.Page &=
attlist.id,
attribute pagestyle { text },
attlist.Common.Page
element.TextBlock =
element TextBlock {
attlist.TextBlock,
((element.P | element.CR)*)
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "TextBlock"
"\x{a}" ~
"     "
sch:assert [
test = "@blockstyle = //Style/BlockStyle/@stylelabel"
"No BlockStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
62448 © IEC:2009 – 17 –
]
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "TextBlock"
"\x{a}" ~
"     "
sch:assert [
test = "@textstyle = //Style/TextStyle/@stylelabel"
"No TextStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
]
}
attlist.TextBlock &=
attlist.id,
attribute textstyle { text },
attribute blockstyle { text },
attlist.Common.Text,
attlist.Common.Block
element.P = element P { attlist.P, DrawChar }
attlist.P &= attribute refesound { xsd:string }?
element.Plot = element Plot { attlist.Plot, text }
attlist.xsize &= attribute xsize { xsd:unsignedShort }
attlist.ysize &= attribute ysize { xsd:unsignedShort }
attlist.Plot &=
– 18 – 62448 © IEC:2009
attlist.xsize,
attlist.ysize,
attlist.refid,
[ a:defaultValue = "bottom" ]
attribute adjustment { "center" | "baseline" | "top" | "bottom" }?
element.CR = element CR { empty }
element.Fill =
element Fill {
attribute code { text },
empty
}
element.Space = element Space { attlist.xsize, empty }
element.CharButton = element CharButton { attlist.refid, SimpleChar1 }
element.Rubi = element Rubi { (element.Oyamoji, element.Rubimoji)+ }
element.Oyamoji = element Oyamoji { SimpleChar0 }
element.Gaiji = element Gaiji { attlist.Gaiji, text }
attlist.Gaiji &=
attlist.refid,
attribute fontfacename { text }?,
attribute code { text }
element.AltString = element AltString { element.Org, element.Alt }
element.Org = element Org { text }
element.Alt = element Alt { text }
element.Rubimoji = element Rubimoji { SimpleChar0 }
element.Box = element Box { attlist.Box, SimpleChar0 }
attlist.linetype &=
attribute linetype { "solid" | "dotted" | "dashed" | "double" }
attlist.Box &= attlist.linetype?
element.EmpDots = element EmpDots { attlist.EmpDots, SimpleChar0 }
attlist.Empdotsposition &=
attribute empdotsposition { "before" | "after" }
attlist.EmpdotsChar &=
62448 © IEC:2009 – 19 –
attribute empdotscode { text },
attribute empdotsfontname { text },
attribute refempdotsfont { text }
attlist.EmpDots &= attlist.Empdotsposition?, attlist.EmpdotsChar?
element.EmpLine = element EmpLine { attlist.EmpLine, SimpleChar0 }
attlist.Emplineposition &=
attribute emplineposition { "before" | "after" }
attlist.Emplinetype &=
attribute emplinetype {
"none" | "solid" | "dotted" | "dashed" | "double"
}
attlist.EmpLine &= attlist.Emplinetype?, attlist.Emplineposition?
element.Sub = element Sub { SimpleChar0 }
element.Sup = element Sup { SimpleChar0 }
element.Yoko = element Yoko { SimpleChar0 }
element.Tate = element Tate { SimpleChar2 }
element.Nekase = element Nekase { SimpleChar2 }
element.NoBR = element NoBR { SimpleChar1 }
element.DrawChar =
element DrawChar {
attribute line { xsd:unsignedShort },
SimpleChar0
}
element.Italic = element Italic { DrawChar }
element.Bold = element Bold { DrawChar }
element.ImageBlock =
element ImageBlock { attlist.ImageBlock, text }
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"   "
sch:rule [
– 20 – 62448 © IEC:2009
context = "Page"
"\x{a}" ~
"    "
sch:assert [
test = "@blockstyle = //Style/BlockStyle/@stylelabel"
"No BlockStyle"
]
"\x{a}" ~
"   "
]
"\x{a}" ~
"  "
]
attlist.ImageBlock &=
attlist.id,
attribute blockstyle { text },
attlist.Common.Block,
attlist.Common.Image
element.ButtonBlock =
element ButtonBlock {
attlist.ButtonBlock,
element.BaseButton?,
element.FocusinButton?,
element.PushButton?,
(element.UpButton?)
>> sch:pattern [
name = "Style Check"
"\x{a}" ~
"    "
sch:rule [
context = "ButtonBlock"
"\x{a}" ~
62448 © IEC:2009 – 21 –
"     "
sch:assert [
test = "@blockstyle = //Style/BlockStyle/@stylelabel"
"No BlockStyle"
]
"\x{a}" ~
"    "
]
"\x{a}" ~
"   "
]
}
attlist.ButtonBlock &=
attlist.id,
attribute blockstyle { text },
attlist.Common.Block
attlist.refimage &= attribute refimage { xsd:string }
element.BaseButton = element BaseButton { attlist.refimage?, empty }
element.FocusinButton =
element FocusinButton {
attlist.refimage?,
(element.JumpTo
| element.Run
| element.SoundStop
| element.CloseWindow)*
}
element.JumpTo = element JumpTo { attlist.jump, empty }
attlist.jump &=
attribute refpage { xsd:string },
attlist.refid
element.Run = element Run { attlist.Run, empty }
attlist.Run &=
– 22 – 62448 © IEC:2009
[ a:defaultValue = "normal" ]
attribute runoption {
"normal" | "opposite" | "center" | "opposite-center"
}?,
attlist.refid
element.SoundStop = element SoundStop { empty }
element.CloseWindow = element CloseWindow { empty }
element.PushButton =
element PushButton {
attlist.refimage?,
(element.JumpTo
| element.Run
| element.SoundStop
| element.CloseWindow)*
}
element.UpButton =
element UpButton {
attlist.refimage?,
(element.JumpTo
| element.Run
| element.SoundStop
| element.CloseWindow)*
}
element.BlockSpace = element BlockSpace { attlist.BlockSpace, empty }
attlist.BlockSpace &=
attribute xspace { xsd:short }?,
attribute yspace { xsd:short }?
element.Canvas =
element Canvas {
attlist.Canvas, (element.Common.Canvas | element.Wait)*
}
element.Common.Canvas =
62448 © IEC:2009 – 23 –
element.PutObj
| element.Moveto
| element.Lineto
| element.DrawBox
| element.DrawEllipse
attlist.Canvas &=
attribute canvaswidth { xsd:unsignedShort },
attribute canvasheight { xsd:unsignedShort },
attribute blockrule { "block-fixed" | "block-adjustable" }?,
attlist.id,
attlist.Common.Canvas
attlist.Layout &= attribute layout { "LrTb" | "TbRl" }
attlist.Common.Frame &=
attribute framewidth { xsd:unsignedShort }?,
attribute framecolor { text }?,
attribute framemode { "curve" | "square" }?
attlist.Common.Canvas &=
attribute b
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...