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.
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
- :element, parent, name, attributes, children*
-
a = Node.new a << “B” # => <a>B a.b
# => <a>B a.b[1] # =>
<a>B a.b[1][“x”] = “y” # =>
<a>B<b x=“y”/> a.b[0].c # =>
<a>B<c/><b x=“y”/> a.b.c << “D”
# => <a>B<c>D</c><b x=“y”/>
This class was contributed by Mikko Tiihonen mikko DOT tiihonen AT hut DOT fi
This class was contributed by Mikko Tiihonen mikko DOT tiihonen AT hut DOT fi
Constants
COPYRIGHT = "Copyright © 2001-2008 Sean Russell "
DATE = "2008/019"
VERSION = "3.1.7.3"
REVISION = %w$Revision$[1] || ''
Copyright = COPYRIGHT
Version = VERSION
Attributes
Show files where this module is defined (59 files)
lib/rexml/rexml.rb
lib/rexml/output.rb
lib/rexml/light/node.rb
lib/rexml/document.rb
lib/rexml/sax2listener.rb
lib/rexml/comment.rb
lib/rexml/streamlistener.rb
lib/rexml/xpath.rb
lib/rexml/attlistdecl.rb
lib/rexml/functions.rb
lib/rexml/entity.rb
lib/rexml/text.rb
lib/rexml/validation/relaxng.rb
lib/rexml/validation/validation.rb
lib/rexml/validation/validationexception.rb
lib/rexml/parseexception.rb
lib/rexml/namespace.rb
lib/rexml/element.rb
lib/rexml/child.rb
lib/rexml/syncenumerator.rb
lib/rexml/dtd/elementdecl.rb
lib/rexml/dtd/entitydecl.rb
lib/rexml/dtd/attlistdecl.rb
lib/rexml/dtd/notationdecl.rb
lib/rexml/dtd/dtd.rb
lib/rexml/encoding.rb
lib/rexml/parsers/treeparser.rb
lib/rexml/parsers/ultralightparser.rb
lib/rexml/parsers/sax2parser.rb
lib/rexml/parsers/streamparser.rb
lib/rexml/parsers/pullparser.rb
lib/rexml/parsers/baseparser.rb
lib/rexml/parsers/lightparser.rb
lib/rexml/parsers/xpathparser.rb
lib/rexml/cdata.rb
lib/rexml/xmltokens.rb
lib/rexml/node.rb
lib/rexml/formatters/default.rb
lib/rexml/formatters/transitive.rb
lib/rexml/formatters/pretty.rb
lib/rexml/instruction.rb
lib/rexml/doctype.rb
lib/rexml/xmldecl.rb
lib/rexml/parent.rb
lib/rexml/attribute.rb
lib/rexml/encodings/ISO-8859-15.rb
lib/rexml/encodings/UTF-16.rb
lib/rexml/encodings/SHIFT-JIS.rb
lib/rexml/encodings/ISO-8859-1.rb
lib/rexml/encodings/ICONV.rb
lib/rexml/encodings/US-ASCII.rb
lib/rexml/encodings/UTF-8.rb
lib/rexml/encodings/EUC-JP.rb
lib/rexml/encodings/CP-1252.rb
lib/rexml/encodings/UNILE.rb
lib/rexml/xpath_parser.rb
lib/rexml/undefinednamespaceexception.rb
lib/rexml/source.rb
lib/rexml/quickpath.rb