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

has_name?
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Namespace

has_name?( other, ns=nil ) Instance Public methods Compares names optionally

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

size() Instance Public methods Returns the number of Element children

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

attribute_of(element, attribute) Instance Public methods

2025-01-10 15:47:30
entity_expansion_text_limit=
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Document

entity_expansion_text_limit=( val ) Class Public methods

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

new(arg) Class Public methods The type of this event. Will be one of :tag_start

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

has_text?() Instance Public methods Evaluates to true if this element

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

add_listener( listener ) Instance Public methods

2025-01-10 15:47:30
parse_helper
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::DTD/REXML::DTD::Parser

parse_helper( input ) Class Public methods Takes a String and parses it out

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

node_type() Instance Public methods

2025-01-10 15:47:30
expected
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Validation/REXML::Validation::Interleave

expected() Instance Public methods

2025-01-10 15:47:30