When Should Scripts Be Used?
Numerical calculations
Access to some system resources (eg, clock)
Complex animation and/or interaction
complicated visual effects
need for the state of interaction
more compact code,
higher speed
list handling
Random features (eg, random choice among alternatives)
Client/server type applications
Managing application data embedded in the SVG content
The DOM includes
all
XML data, not only SVG
the SVG player ignores the non-SVG ones visually…
…but those are visible to a script!
I Herman
, W3C, Head of Offices,
© 1994-2004, W3C (MIT,ERCIM,Keio)
32 (53)