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

insert_before
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parent

insert_before( child1, child2 ) Instance Public methods Inserts an child before

2025-01-10 15:47:30
pull
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parsers/REXML::Parsers::PullParser

pull() Instance Public methods

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

match(pattern, cons=false) Instance Public methods

2025-01-10 15:47:30
parent?
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parent

parent?() Instance Public methods

2025-01-10 15:47:30
predicate_to_string
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parsers/REXML::Parsers::XPathParser

predicate_to_string( path, &block ) Instance Public methods

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

size() Instance Public methods Returns the number of enumerated

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

new(target, content=nil) Class Public methods Constructs a new

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

[](name) Instance Public methods Fetches an attribute value. If you want to

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

get_attribute( name ) Instance Public methods Fetches an attribute

2025-01-10 15:47:30
namespaces=
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Parsers/REXML::Parsers::XPathParser

namespaces=( namespaces ) Instance Public methods

2025-01-10 15:47:30