Chapter 14. The SVG DOM

SVG by itself is cool, but it's really interactive when you use a programming language such as JavaScript, VBScript, or Java. Therefore, it needs a system that gives the programming language access to the SVG elements and attributes. The World Wide Web Consortium (or W3C, creator of SVG) solved this problem by using the Document Object Model (DOM) as the basis for its own SVG DOM. The SVG DOM is a language-neutral Application Programming Interface (API), which gives any programming language access to the parts of the SVG document. As soon as the programming language has access to the SVG document, it can do virtually everything—create, ...

Get SVG Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.