XML Matters, SVG and the scriptless script
Declarative animation for junior rocket scientists
From the developerWorks archives
Date archived: March 10, 2017 | Last updated: March 09, 2011|First published: October 25, 2005
Scalable Vector Graphics (SVG) browsers are becoming mainstream now, and they can be used in many powerful ways. Dethe looks at some of the ways that declarative markup can replace script for animation and other common scripting tasks. In the process, he briefly looks at replacing script with declarative markup in other XML dialects. Moving common scripting tasks into declarative markup can eliminate the need for tedious boilerplate code, reduce errors, and make your script's intent easier to follow, freeing you to focus on your code's unique aspects.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.