Type:
Module
Constants:
namespace_context : namespaces
variables : vars

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()”

translate
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

translate( string, tr1, tr2 ) Class Public methods This is entirely Mike Stok's

2025-01-10 15:47:30
name
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

name( node_set=nil ) Class Public methods

2025-01-10 15:47:30
last
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

last( ) Class Public methods Returns the last node of the given list of nodes

2025-01-10 15:47:30
string
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

string( object=nil ) Class Public methods A node-set is converted to a string

2025-01-10 15:47:30
floor
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

floor( number ) Class Public methods

2025-01-10 15:47:30
normalize_space
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

normalize_space( string=nil ) Class Public methods UNTESTED

2025-01-10 15:47:30
string_value
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

string_value( o ) Class Public methods A node-set is converted to a string by

2025-01-10 15:47:30
count
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Functions

count( node_set ) Class Public methods Returns the size of the given list of

2025-01-10 15:47:30