Movatterモバイル変換


[0]ホーム

URL:


previous  next  contents  

9.The SMIL 2.1 Structure Module

Editor for SMIL 2.1
Thierry Michel, W3C
Editor for SMIL 2.0
Warner ten Kate, Philips Electronics
Aaron Cohen, Intel.

Table of contents

9.1 Summary of Changes for SMIL 2.1

This section is informative.

The SMIL 2.1 specification leaves the SMIL 2.0 Structure Module[SMIL20-structure] unchanged.

9.2Introduction

This section is informative.

This Section defines the SMIL structure module. The Structure moduleprovides the base elements for structuring SMIL content. These elements actas the root in the content model of allSMIL HostLanguage conformant language profiles. The Structure module is amandatory module for SMIL Host Language conformant language profiles.

The SMIL Structure module is composed of thesmil,head, andbody elements, and is compatible withSMIL 1.0[SMIL10]. The correspondingSMIL 1.0 elements form a subset of the Structure module, both in syntax andsemantics, as their attributes and content model is also exposed by theStructure module. Thus, the Structure module is backwards compatible withSMIL 1.0.

9.3The SMIL 2.1 Structure ModuleSyntax and Semantics

9.3.1Elements andattributes

This section defines the elements and attributes that make up the SMIL 2.1Structure module.

Thesmil element

Thesmil element acts as the rootelement for allSMIL HostLanguage conformant language profiles.

Element attributes

Thesmil element can have thefollowing attributes:

id
Theid attribute uniquely identifies an element within a document. Its value is an XML identifier.
class
Theclass attribute assigns a class name or a set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.
xml:lang
Thexml:lang attribute specifies the language of an element, and is specified in XML 1.1[XML11].xml:lang differs fromsystemLanguage test attribute in one important respect.xml:lang provides information about content's language independent of what implementations do with the information, whereassystemLanguage is a test attribute with specific associated behavior (seesystemLanguage inSMIL 2.1 BasicContentControl Module for details).
title
Thetitle attribute offers advisory information about the element for which it is set. Values of the title attribute may be rendered by user agents in a variety of ways. For instance, visual browsers frequently display the title as a "tool tip" (a short message that appears when the pointing device pauses over an object).
xmlns
Thexmlns attribute declares an XML namespace, and is defined in "Namespaces in XML"[XML-NS].
Element content

Thesmil element can contain thefollowing elements:

head
body

Thehead element

Thehead element containsinformation that is not related to the temporal behavior of the presentation.Three types of information may be contained byhead. These are meta information, layout information, and author-defined contentcontrol.

Element attributes

Thehead element can have thefollowing attributes:

id
Defined inid under thesmil element.
class
Defined inclass under thesmil element.
xml:lang
Defined inxml:lang under thesmil element.
title
Defined intitle under thesmil element.
Element content

Thehead element contains elementsdepending on the other modules and specific syntax included in the languageprofile integrating this module.

Thebody element

Thebody element containsinformation that is related to the temporal and linking behavior of thedocument. It acts as the root element of the timing tree.

Thebody element has the timingsemantics of a time container equal to that of theseq element [BasicTimeContainers module]. Note, thatin other language profiles, where abody element from another (Structure) Moduleis in use, thatbody element may havedifferent timing semantics. For example, in the XHTML+SMIL language profile(still in progress and not yet a W3C Recommendation), thebody element comes from XTML, and acts as apar time container.

Element attributes

Thebody element can have thefollowing attributes:

id
Defined inid under thesmil element.
class
Defined inclass under thesmil element.
xml:lang
Defined inxml:lang under thesmil element.
title
Defined intitle under thesmil element.

The timing attributes defined in the various SMIL 2.1 timing modules arepart of thebody element so far as thecorresponding timing modules, such asBasicInlineTiming, are part of thelanguage profile. When a timing module is included in a language profile, thefeatures of that module should be supported on thebody element just as they are supported onthe other elements in the profile. For example, thesyncMaster attribute should besupported on thebody element if the SyncMaster module is included in theintegrating profile.

Element content

Thebody element contains elementsdepending on the other modules and specific syntax included in the languageprofile integrating this module.

9.4Integrating the SMIL StructureModule

This section is normative.

When this module is included in a language profile, theid,class, andtitle attributes defined in this module mustbe included on all elements from all modules used in the profile, includingthose from other module families and of non-SMIL origin. The integratingprofile should also consider adding thexml:lang attribute to the applicableelements.

The SMIL Structure module is the starting module when building anySMIL HostLanguage conformant language profile. The Structure module may not beused for building other, non-SMIL Host Language conformant language profiles.This implies that the SMIL Structure module must at least be accompanied withthe other modules mandatory for SMIL Host language conformance, and theelements in the structure module must include at least the minimum contentmodels required for SMIL Host language conformance. 

When modules from outside the SMIL 2.1 namespace are integrated in thelanguage profile, it must be specified how the elements from those non-SMILmodules fit into the content model of the used SMIL modules (and vice versa).For example, with respect to the SMIL Structure module, the ProfilingEntities in the DTD need to be overridden. This creates a so-calledhybrid document type[XMOD]. In caseof a so-calledcompound document type, the rules of XML namespacesmust be satisfied[XML-NS].


previous  next  contents  

[8]ページ先頭

©2009-2025 Movatter.jp