December 1999
Intermediate to advanced
992 pages
22h 3m
English
The following interfaces are rarely used. The W3C recommendation details them if you need more information.
Even though the text nodes will constitute a large number of nodes in a typical document, most of the operations on text are looked after by the CharacterData interface. In fact, the text interface has only one method, which is the splitText() method. This method accepts an offset—an unsigned long integer—as an argument, and it will split a single text node into two separate nodes.
The CDATASection interface has no attributes or methods of its own, and inherits the attributes and methods of the CharacterData interface.
Every document ...
Read now
Unlock full access