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()"
| Public Methods | |
|---|---|
| boolean | UNTESTED |
| ceiling | |
| compare_ |
|
| concat | UNTESTED |
| contains | Fixed by Mike Stok |
| context= | |
| count | |
| false | UNTESTED |
| floor | |
| get_ |
Helper method. |
| id | Since REXML is non-validating, this method is not implemented as it requires a DTD |
| lang | UNTESTED |
| last | |
| local_ |
UNTESTED |
| method_ |
|
| name | |
| namespace_ |
|
| namespace_ |
|
| namespace_ |
|
| normalize_ |
UNTESTED |
| not | UNTESTED |
| number | a string that consists of optional whitespace followed by an optional minus sign followed by a Number followed by whitespace is converted to the IEEE 754 number that is nearest (according to the IEEE 754 round-to-nearest rule) to the mathematical value represented by the string; any other string is converted to NaN |
| position | |
| processing_ |
|
| round | |
| starts_ |
Fixed by Mike Stok |
| string | A node-set is converted to a string by returning the string-value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. |
| string_ |
UNTESTED |
| string_ |
|
| substring | Take equal portions of Mike Stok and Sean Russell; mix vigorously, and pour into a tall, chilled glass. Serves 10,000. |
| substring_ |
Kouhei fixed this too |
| substring_ |
Kouhei fixed this |
| sum | |
| text | |
| translate | This is entirely Mike Stok’s beast |
| true | UNTESTED |
| variables | |
| variables= | |
<code/>and<pre/>for code samples.