Type:
Module
Constants:
COPYRIGHT : "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>"
DATE : "2008/019"
VERSION : "3.1.7.3"
REVISION : %w$Revision$[1] || ''
Copyright : COPYRIGHT
Version : VERSION
:element, parent, name, attributes, children*

a = Node.new a << “B” # => <a>B</a> a.b # => <a>B<b/></a> a.b # => <a>B<b/><b/><a> a.b[“x”] = “y” # => <a>B<b/><b x=“y”/></a> a.b.c # => <a>B<c/><b x=“y”/></a> a.b.c << “D” # => <a>B<c>D</c><b x=“y”/></a>

REXML is an XML toolkit for Ruby, in Ruby.

REXML is a pure Ruby, XML 1.0 conforming, non-validating toolkit with an intuitive API. REXML passes 100% of the non-validating Oasis tests, and provides tree, stream, SAX2, pull, and lightweight APIs. REXML also includes a full XPath 1.0 implementation. Since Ruby 1.8, REXML is included in the standard Ruby distribution.

Main page

www.germane-software.com/software/rexml

Author

Sean Russell <serATgermaneHYPHENsoftwareDOTcom>

Date

2008/019

Version

3.1.7.3

This API documentation can be downloaded from the REXML home page, or can be accessed online

A tutorial is available in the REXML distribution in docs/tutorial.html, or can be accessed online

filter
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::QuickPath

filter(elements, path) Class Public methods Given an array of nodes it filters

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

progress(position) Instance Public methods

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

whitespace() Instance Public methods Evaluates to true if whitespace

2025-01-10 15:47:30
elementdecl?
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parsers/REXML::Parsers::PullEvent

elementdecl?() Instance Public methods Content: [ String text ]

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

entity( name ) Instance Public methods

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

number( object=nil ) Class Public methods a string that consists of optional

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

document() Instance Public methods Returns the document this

2025-01-10 15:47:30
end_element?
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parsers/REXML::Parsers::PullEvent

end_element?() Instance Public methods Content: [ String tag_name ]

2025-01-10 15:47:30
[]
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parsers/REXML::Parsers::PullEvent

[]( start, endd=nil) Instance Public methods

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

id( object ) Class Public methods Since

2025-01-10 15:47:30