to the main page about the tutorial  THE XML REVOLUTION  -  TECHNOLOGIES FOR THE FUTURE WEB back up next

Core function library

Node-set functions:
last()   returns the context size
position()   returns the context position
count(node-set)   number of nodes in node-set
name(node-set)   string representation of first node in node-set
...   ...

String functions:
string(value)   type cast to string
concat(string, string, ...)   string concatenation
...   ...

Boolean functions:
boolean(value)   type cast to boolean
not(boolean)   boolean negation
...   ...

Number functions:
number(value)   type cast to number
sum(node-set)   sum of number value of each node in node-set
...   ...


- see the XPath specification for the complete list.

back COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH next