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

write
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::AttlistDecl

write(out, indent=-1) Instance Public methods Write out exactly what we got

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

expand_ref_in( arry, ind ) Instance Protected methods

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

next( event ) Instance Public methods

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

read() Instance Public methods

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

count( node_set ) Class Public methods Returns the size of the given list of

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

each_element_with_attribute( key, value=nil, max=0, name=nil ) Instance Public methods

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

instruction(name, instruction) Instance Public methods Called when an instruction

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

last( ) Class Public methods Returns the last node of the given list of nodes

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

scan(pattern, cons=false) Instance Public methods Scans the source for a given

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

replace_child( to_replace, replacement ) Instance Public methods Replaces one

2025-01-10 15:47:30