module Functions


If you add a method, keep in mind two things: (1) the first argument will always be a list of nodes from which to filter. In the case of context methods (such as position), the function should return an array with a value for each child in the array. (2) all method calls from XML will have "-" replaced with "_". Therefore, in XML, "local-name()" is identical (and actually becomes) "local_name()"

Methods


Methods

Functions::boolean


UNTESTED

Functions::ceiling


Functions::compare_language


Functions::concat


UNTESTED

Functions::contains


UNTESTED

Functions::count


Functions::false


UNTESTED

Functions::floor


Functions::get_namespace


Helper method.

Functions::id


Since REXML is non-validating, this method is not implemented as it requires a DTD

Functions::lang


UNTESTED

Functions::last


Functions::local_name


NOT TESTED

Functions::method_missing


Functions::name


Functions::namespace_uri


NOT TESTED

Functions::node


Functions::node=


Functions::normalize_space


UNTESTED

Functions::not


UNTESTED

Functions::number


Functions::pair


Functions::pair=


Functions::position


Functions::round


Functions::starts_with


UNTESTED

Functions::string


UNTESTED

Functions::string_length


UNTESTED

Functions::substring


UNTESTED

Functions::substring_after


UNTESTED

Functions::substring_before


UNTESTED

Functions::sum


Functions::text


Functions::translate


UNTESTED

Functions::true


UNTESTED

Functions::variable


Functions::variable=