|
NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
|
| THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
|
| 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.
|
| COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |
|