|
Text.XML.HXT.XPath.XPathFct | Portability | portable | Stability | experimental | Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
|
|
|
Description |
The module contains the core-functions of the XPath function library.
All functions are implemented as XFct. Each XFct contains the evaluation context,
the variable environment and the function arguments.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Type signature for all functions which can be used in the XPath module.
|
|
|
Evaluates a function.
Calculation of the function value is done by looking up the function name in the function table,
check the number of arguments and calculate the funtion, if no
argument evaluation returns an error.
|
|
|
Converts a list of different XPathValue types in a list of one XPathValue type.
- 1.parameter fct : the conversion function
|
|
|
number number(object?): converts its argument to a number
|
|
|
boolean boolean(object): converts its argument to a boolean value
|
|
|
string string(object?): converts an object to a string
|
|
|
Returns the conversion function for the XPath results: string, boolean and number
A nodeset can not be converted.
|
|
|
Returns the string-value of a node,
the value of a namespace node is not supported
|
|
|
Filter for removing identical fragment trees in a nodeset
|
|
|
Check whether a node is not a part of a node list. Needed to implement matching & testing in xslt.
|
|
|
Filter for ordering a list of Nodes in document order
|
|
|
Filter for ordering a list of Nodes in reverse document order
|
|
|
Returns the table of variables from the environment
|
|
|
Returns the table of keys, needed by xslt, from the environment
|
|
Produced by Haddock version 2.3.0 |