O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Animation Modules

SMIL 2.0 supports animation functionality and splits the animation modules into a BasicAnimation module and a SplineAnimation module. The two modules contain elements and attributes that define how an animation is to be incorporated on a timeline. As you can probably anticipate, the animation modules are included only in language profiles that require animation functionality.

Animation depends on the BasicInlineTiming module, which is one of the Timing modules.

The BasicAnimation Module

Listing 24.7 shows a simple animation using a SMIL 2.0 animation element within a referenced SVG image.

Listing 24.7. Incorporating an SVG Image That Uses a SMIL Animation Element (AnimTest.smil)
 <smil> <head> <meta name="title" content="*** ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required