SMIL2.0 to xhtml+smil:
The XSLT Transformation Sheet
This transformation sheet converts multimedia presentations written in SMIL2.0
language profile to xhtml+smil profile.
Download
05-July-2001 [SMIL2.0
to xhml+smil v0.1]
22-Agust-2001 [SMIL2.0 to xhml+smil
v0.2]
- Add activateEvent conversion to click event
- Support SyncBehaviorDefault Module, RestartDefault Module and FillDefault
Module
- Change time prefix from .time to t\:*
- Add smil namespace
- Simplify the transformation sheet
Examples
In the following examples, you can download the original SMIL2.0 language profile
presentation. You can also see the same presentation in xhtml+smil language
(at least IE5.5 is needed). Transformations are done on the server side using
Xerces for parsing xml
document and Xalan for
XSLT transformations.
Implementation status
This part gives the list of SMIL2.0 language profile modules with the corresponding
implementation in xhtml+smil. SMIL2.0 language profile modules are:
- Structure functionality
- Metainformation functionality
- Timing functionality
- Animation functionality
- Content Control functionality
- BasicContentControl Module
- CustomTestAttributes Module
- PrefetchControl Module
- SkipContentControl Module
- Layout functionality
- BasicLayout Module
- AudioLayout Module
- MultiWindowLayout Module
- HierarchicalLayout Module
- Linking functionality
- BasicLinking Module
- LinkingAttributes Module
- ObjectLinking Module
- Transition Effects functionality
- BasicTransitions Module
- TransitionModifiers Module
- Media functionality
- BasicMedia Module
- MediaClipping Module
- MediaClipMarkers Module
- MediaParam Module
- BrushMedia Module
- MediaAccessibility Module
Structure functionality
Structure Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
smil |
body |
ok |
id |
|
ok |
class |
|
ok |
xml:lang |
|
ok |
title |
|
ok |
xmlns |
|
ok |
head |
head |
ok |
id |
|
ok |
class |
|
ok |
xml:lang |
|
ok |
title |
|
ok |
body |
add attr timeContainer="seq" |
ok |
id |
|
ok |
class |
|
ok |
xml:lang |
|
ok |
title |
|
ok |
Timing attributes |
|
ok |
Metainformation functionality
Metainformation Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
meta |
meta |
ok |
metadata |
metadata |
ok |
Timing functionality
BasicInlineTiming Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
dur |
dur |
ok |
begin simple offset values, value-list and "indefinite".
|
begin |
ok |
end simple offset values, value-list and "indefinite".
|
end |
ok |
SyncbaseTiming Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
begin with syncbase values |
begin |
ok |
end with syncbase values |
end |
ok |
EventTiming Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
begin with event values |
begin |
ok |
end with event values |
end |
ok |
Event not supported in xhtml+smil (and supported in SMIL2.0 profile):
- focusInEvent: script ? TBD
- focusOutEvent: script ? TBD
- activateEvent: converted to click
- inBoundsEvent: script ?TBD
- outOfBoundsEvent: script ?TBD
- topLayoutCloseEvent: script ?TBD
- topLayoutOpenEvent: script ?TBD
MinMaxTiming Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
min |
|
not yet |
max |
|
not yet |
RepeatTiming Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
repeatDur |
repeatDur |
ok |
repeatCount |
repeatCount |
ok |
RepeatValueTiming Module
The repeat event is supported. But not possible to describe repeatValue behaviors
with it (repeat count). Use onRepeat attribute with script ? Wich syntax for
scripts ?
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
begin with repeat values |
|
not yet |
begin with repeat values |
|
not yet |
WallclockTiming Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
begin with wallclock values |
begin with wallclock values |
ok |
end with wallclock values |
end with wallclock values |
ok |
MultiArcTiming Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
begin with semicolon |
begin with semicolon |
ok |
end with semicolon |
end with semicolon |
ok |
AccessKeyTiming Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
begin with access key values |
script? |
not yet |
end with access key values |
script? |
not yet |
BasicTimeContainers Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
par |
par |
ok |
seq |
ses |
ok |
|
|
|
fill |
fill + filter if value equals default |
ok |
endsync |
endsync |
ok |
ExclTimeContainers Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
excl |
excl |
ok |
priorityClass |
priorityClass |
ok |
|
|
|
fill |
fill |
ok |
endsync |
endsync |
ok |
RestartTiming Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
restart |
restart + filter attr if value equals default |
ok |
SyncBehavior Module
Require by xhml+smil profile.
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
syncBehavior |
syncBehavior + filter attr if value equals default |
ok |
syncTolerance |
syncTolerance + filter attr if value equals
default |
ok |
SyncBehaviorDefault Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
syncBehaviorDefault |
syncBehavior + resolve inherit during transformation |
ok |
syncToleranceDefault |
syncTolerance + resolve inherit during transformation |
ok |
RestartDefault Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
restartDefault |
restart + resolve inherit during transformation |
ok |
FillDefault Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
fillDefault |
fill + resolve inherit during transformation |
ok |
MediaMarker Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
begin with media marker values |
ignored |
ok |
end with media marker values |
ignored |
ok |
Animation functionality
BasicAnimation Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
animate |
animate |
ok |
set |
set |
ok |
animateMotion |
animateMotion |
ok |
animateColor |
animateColor |
ok |
|
|
|
targetElement |
|
reference to a region not supported yet |
Content Control functionality
BasicContentControl Module
Require by xhml+smil profile
CustomTestAttributes Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
customAttributes |
|
not yet |
customTest |
|
not yet |
defaultState |
|
not yet |
override |
|
not yet |
uid |
|
not yet |
|
|
|
customTest |
targetElement |
not yet |
PrefetchControl Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
prefetch |
filtered |
ok |
SkipContentControl Module
SMIL2.0 Elements and attributes |
xhtml+smil counter-part |
implementation status |
skip-content |
|
not yet |
Layout functionality
BasicLayout Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
layout |
filtered |
ok |
type |
filtered |
ok |
region |
filtered |
ok |
backgroundColor |
CSS background-color |
ok |
showBackground |
|
not yet |
bottom |
|
not yet |
fit |
|
not yet |
width |
CSS width |
ok |
height |
CSS height |
ok |
left |
CSS left |
ok |
right |
|
not yet |
top |
CSS top |
ok |
z-index |
CSS z-index |
ok |
regionName |
|
not yet |
root-layout |
|
not yet |
backgroundColor |
CSS background-color |
ok |
height |
CSS height |
ok |
width |
CSS width |
ok |
|
|
|
region |
CSS attrs (not only) |
partially. regionName not supported |
AudioLayout Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
soundLevel |
CSS volume |
ok (but not work in ie5.5) |
MultiWindowLayout Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
topLayout |
?? |
not yet |
HierarchicalLayout Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
region (hierarchical extention) |
absolute computation |
ok |
regPoint |
|
not yet |
regPoint |
|
not yet |
regAlign |
|
not yet |
top (in media) |
|
not yet |
bottom (in media) |
|
not yet |
left (in media) |
|
not yet |
left (in media) |
|
not yet |
fit (in media) |
|
not yet |
z-index (in media) |
|
not yet |
backgroundColor (in media) |
|
not yet |
Linking functionality
BasicLinking Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
a |
a |
ok (sync not work in IE6?) |
href |
href |
ok |
area |
area |
not yet |
href |
href |
ok |
LinkingAttributes Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
sourceLevel |
|
not yet |
destinationLevel |
|
not yet |
sourcePlaystate |
|
not yet |
destinationPlaystate |
|
not yet |
show |
|
not yet |
external |
|
not yet |
actuate |
|
not yet |
alt |
alt |
ok |
accesskey |
accesskey |
ok |
tabindex |
tabindex |
ok |
target |
target |
ok |
ObjectLinking Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
fragment |
|
not yet |
Transition Effects functionality
BasicTransitions Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
transition |
filtered |
ok |
type |
type |
ok |
subtype |
subtype |
ok |
dur |
dur |
ok |
startProgress |
from |
ok |
endProgress |
to |
ok |
direction |
? |
not yet |
fadeColor |
fadeColor |
ok |
|
|
|
transIn |
transitionFilter + begin |
begin not implemented |
transOut |
transitionFilter + end |
not yet |
|
|
|
|
|
|
|
|
|
TransitionModifiers Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
horzRepeat |
|
not yet |
vertRepeat |
|
not yet |
borderWidth |
|
not yet |
borderColor |
|
not yet |
Media functionality
BasicMedia Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
ref
|
ref |
pas test้ |
animation |
animation |
pas test้ |
audio |
audio |
pas test้ |
img |
xhtml img |
ok |
text |
? text ne marche pas |
|
textstream |
textstream |
pas test้ |
video |
video |
|
|
|
|
src |
src |
ok |
type |
|
|
MediaClipping Module
Require by xhml+smil profile
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
clipBegin
|
clipBegin |
ok |
clipEnd |
clipEnd |
ok |
MediaClipMarkers Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
clipBegin with marker
|
|
not supported |
clipEnd with marker |
|
not supported |
MediaParam Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
param
|
|
not supported |
BrushMedia Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
brush
|
DIV |
ok |
MediaAccessibility Module
SMIL2.0 Elements and attributes |
xthml+smil counter-part |
implementation status |
alt
|
|
not yet |
longdesc |
|
not yet |
readIndex |
|
not yet |
Last modification :
August 22, 2001
Author : Lionel Villard
Fell free to send comments to lionel.villard@inrialpes.fr