4Suite™ API Documentation

# ► Module Ft.Xml.Xslt.Exslt.Dynamic

EXSLT 2.0 - Dyanmic (http://www.exslt.org/dyn/index.html) WWW: http://4suite.org/XSLT e-mail: support@4suite.org

    Copyright (c) 2001 Fourthought Inc, USA.   All Rights Reserved.
    See  http://4suite.org/COPYRIGHT  for license and copyright information

Functions: Closure, ClosureImpl, Evaluate, Map, MapImpl, Max, Min, Sum, handle_traceback |  |  |  | Globals: EXSL_COMMON_NS, EXSL_DYNAMIC_NS, ExtElements, ExtFunctions, ExtNamespaces, NODE_HANDLERS

## 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 at 0xb75c6684>, ('http://exslt.org/dynamic', 'evaluate'): <function Evaluate at 0xb75c656c>, ('http://exslt.org/dynamic', 'map'): <function Map at 0xb75c664c>, ('http://exslt.org/dynamic', 'max'): <function Max at 0xb75c679c>, ('http://exslt.org/dynamic', 'min'): <function Min at 0xb75c6924>, ('http://exslt.org/dynamic', 'sum'): <function Sum at 0xb75c695c>}
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> at 0xb75c64fc>)}