4Suite API Documentation

Module Ft.Xml.Xslt.Exslt.Dynamic

EXSLT Dynamic (http://exslt.org/dyn/dyn.html)
Copyright 2006 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Functions:
Globals:

Functions

Closure(context, nodeset, string)
The dyn:closure function creates a node set resulting from transitive closure of evaluating the expression passed as the second argument on each of the nodes passed as the first argument, then on the node set resulting from that and so on until no more nodes are found.
http://www.exslt.org/dyn/functions/closure/index.html
ClosureImpl(context, nodeset, expr, accumulator)
Evaluate(context, string)
The dyn:evaluate function evaluates a string as an XPath expression and returns the resulting value, which might be a boolean, number, string, node set, result tree fragment or external object. The sole argument is the string to be evaluated. If the string is an invalid XPath expression, an empty node-set is returned.
http://www.exslt.org/dyn/functions/evaluate/index.html
Map(context, nodeset, string)
The dyn:map function evaluates the expression passed as the second argument for each of the nodes passed as the first argument, and returns a node set of those values.
http://www.exslt.org/dyn/functions/map/index.html
MapImpl(context, nodeset, expr)
Max(context, nodeset, string)
The dyn:max function calculates the maximum value for the nodes passed as the first argument, where the value of each node is calculated dynamically using an XPath expression passed as a string as the second argument.
http://www.exslt.org/dyn/functions/max/index.html
Min(context, nodeset, string)
The dyn:min function calculates the minimum value for the nodes passed as the first argument, where the value of each node is calculated dynamically using an XPath expression passed as a string as the second argument.
http://www.exslt.org/dyn/functions/min/index.html
Sum(context, nodeset, string)
The dyn:sum function calculates the sum for the nodes passed as the first argument, where the value of each node is calculated dynamically using an XPath expression passed as a string as the second argument.
http://www.exslt.org/dyn/functions/sum/index.html
handle_traceback()

Globals

EXSL_COMMON_NS = 'http://exslt.org/common'
EXSL_DYNAMIC_NS = 'http://exslt.org/dynamic'
ExtElements = {}
ExtFunctions = {('http://exslt.org/dynamic', 'closure'): <function Closure>, ('http://exslt.org/dynamic', 'evaluate'): <function Evaluate>, ('http://exslt.org/dynamic', 'map'): <function Map>, ('http://exslt.org/dynamic', 'max'): <function Max>, ('http://exslt.org/dynamic', 'min'): <function Min>, ('http://exslt.org/dynamic', 'sum'): <function Sum>}
ExtNamespaces = {'http://exslt.org/dynamic': 'dyn'}
NODE_HANDLERS = {<type 'float'>: (u'exsl:number', <built-in function StringValue>), <type 'list'>: (None, None), <type 'unicode'>: (u'exsl:string', <built-in function StringValue>), <type 'boolean'>: (u'exsl:boolean', <function <lambda>>)}
generators = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)