O'Reilly logo

Sams Teach Yourself XML in 10 Minutes by Andrew H. Watt

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

DOM Interfaces

Let’s examine in more detail the interfaces in Figure 16.1.

The Node Interface

As you saw in Figure 16.1, many DOM nodes implement the Node interface. They might also have other properties and methods in addition to those that the Node interface provides.

These DOM interfaces are said to extend the Node interface. Figure 16.2 shows the interfaces in DOM Level 2 Core that extend the Node interface.

Figure 16.2. The DOM Level 2 interfaces that extend the Node interface.

In general, the names of the node types that inherit from the Node interface can be readily understood from their names. The DocumentType interface, for example, ...

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