- :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.
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
- MODULE REXML::DTD
- MODULE REXML::Encoding
- MODULE REXML::EntityConst
- MODULE REXML::Formatters
- MODULE REXML::Functions
- MODULE REXML::Light
- MODULE REXML::Namespace
- MODULE REXML::Node
- MODULE REXML::Parsers
- MODULE REXML::SAX2Listener
- MODULE REXML::StreamListener
- MODULE REXML::Validation
- MODULE REXML::XMLTokens
- CLASS REXML::AttlistDecl
- CLASS REXML::Attribute
- CLASS REXML::Attributes
- CLASS REXML::CData
- CLASS REXML::Child
- CLASS REXML::Comment
- CLASS REXML::Element
- CLASS REXML::Elements
- CLASS REXML::Entity
- CLASS REXML::IOSource
- CLASS REXML::Instruction
- CLASS REXML::Output
- CLASS REXML::Parent
- CLASS REXML::ParseException
- CLASS REXML::QuickPath
- CLASS REXML::Source
- CLASS REXML::SourceFactory
- CLASS REXML::SyncEnumerator
- CLASS REXML::Text
- CLASS REXML::UndefinedNamespaceException
- CLASS REXML::XMLDecl
- CLASS REXML::XPath
- CLASS REXML::XPathParser
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 |
Get the entity expansion limit. By default the limit is set to 10240.