XML technologies / XSLT / Introduction to XSLT 2.0 / Getting started with XSLT and XPath / The XML document as a tree / Element nodes

(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, Chapter 1.)

An element is represented in the tree model by an element node. An element node has a identifier in the form of a QName. It can therefore have a prefix with an associated namespace URI. An element node is the only node type, apart from a document node, that can have child nodes.

Child nodes may in turn be element nodes, as well as text nodes, comment nodes and processing instruction nodes. The attributes and Namespaces of an element are also associated with it as corresponding nodes, but are not considered part of its content. They are therefore not counted as child nodes.

   

back to top