DOMStringList

The DOMStringList interface models a simple utility class that contains an ordered list of DOMString objects. Table 19-16 describes the DOMStringList interface.

Table 19-16. The DOMStringList interface

Name

Type

Read-only

Attribute

  

length

unsigned long

Methods

  

contains

boolean

 

item

DOMString

 

NameList

The NameList interface models an ordered collection of names and corresponding namespace URIs. One use of this interface is in modeling the linkage between namespace prefixes and namespace URIs. Table 19-17 describes the NameList interface.

Table 19-17. The NameList interface

Name

Type

Read-only

Attribute

  

length

unsigned long

Methods

  

contains

boolean

 

containsNS

boolean

 

getName

DOMString

 

getNamespaceURI

DOMString

 

DOMImplementationList

The DOMImplementationList interface models a list of DOMImplementation objects, as shown in Table 19-18.

Table 19-18. The DOMImplementationList interface

Name

Type

Read-only

Attribute

  

length

unsigned long

Method

  

item

DOMImplementation

 

DOMImplementationSource

The DOMImplementationSource interface, shown in Table 19-19, allows a DOM client to dynamically select a particular DOM implementation from a list of available implementations based on a requested feature ...

Get XML in a Nutshell, 3rd Edition now with O’Reilly online learning.

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