Module: REXML
- Defined in:
- lib/xmpp4r/rexmladdons.rb
Overview
REXML module. This file only adds the following methods to the REXML module, to ease the coding:
-
replace_element_text
-
first_element
-
first_element_text
-
typed_add
-
import
-
self.import
-
delete_elements
Further definitions are just copied from REXML out of Ruby-1.8.4 to solve issues with REXML in Ruby-1.8.2.
The redefinitions of Text::normalize and Attribute#initialize address an issue where entities in element texts and attributes were not escaped. This modifies the behavious of REXML a bit but Sean Russell intends a similar behaviour for the future of REXML.
Defined Under Namespace
Classes: Attribute, Element, IOSource, Text, XPathParser