• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1. SVG Overview > Introducing the XML DOM

Introducing the XML DOM

The examples you have seen so far in this chapter typically used SVG declarative syntax. In other words, they exclusively used markup, but no programming was involved. However, the interactivity and animation of SVG graphics can be enhanced by using programming languages such as ECMAScript to add control logic to define the effects possible in an SVG image, as you saw in the simple example in Listing 1.4.

SVG is an application language of XML. Therefore, it is not surprising that SVG makes use of the Document Object Model (DOM), which the W3C has defined as an Application Programming Interface (API) for the programmatic manipulation of XML documents.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint