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

end_prefix_mapping
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::SAX2Listener

end_prefix_mapping(prefix) Instance Public methods

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

old_enc=( enc ) Instance Public methods Alias for:

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

dowrite() Instance Public methods

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

check(string, pattern, doctype) Class Public methods check for illegal characters

2025-01-10 15:47:30
<<
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Light/REXML::Light::Node

<<(element) Instance Public methods Append a child to this element, optionally

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

notations() Instance Public methods This method returns a list of notations

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

to_s() Instance Public methods Returns the attribute value, with entities replaced

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

value=( val ) Instance Public methods Sets the contents of this text node.

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

text( path = nil ) Instance Public methods A convenience method which returns

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

to_s() Instance Public methods Returns the string value of this text node.

2025-01-10 15:47:30