O'Reilly logo

XML Companion, The, Third Edition by Neil Bradley

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

Nodes

The DOM standard defines interfaces that are used to manage nodes. Nodes represent elements, text, comments, processing instructions, CDATA sections, entity references and declarations, notation declarations and even entire documents. Nodes are also used to represent attributes, though these nodes are not strictly part of the document tree. There are also some additional node types defined for ease of managing groups of nodes, including two that hold lists of nodes, and one that is useful for transferring nodes to another part of the document tree.

The API allows an object to represent a node. The software can interrogate the node object for information about the node, and about the other nodes it is attached to.

The Node interface is at ...

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