Next / Previous / Contents / Shipman's homepage

4.1. Data types in XPath

XPath expressions use these data types:

node-set

Many XPath operations select a set of zero or more nodes. For example, the expression "address" selects all of the address elements that are children of the context node. This node-set may contain no nodes, one node, or many.

boolean

A true or false value.

number

Numbers in XPath are represented using floating point.

string

A string of characters.