rexml: Ruby Standard Library Documentation
Ruby 2.3.4
frozen_string_literal: false 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
- 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
::attribute (REXML::QuickPath)
::compare_language (REXML::Functions)
::create_from (REXML::SourceFactory)
::entity_expansion_limit (REXML::Document)
::entity_expansion_limit (REXML::Security)
::entity_expansion_limit= (REXML::Document)
::entity_expansion_limit= (REXML::Security)
::entity_expansion_text_limit (REXML::Document)
::entity_expansion_text_limit (REXML::Security)
::entity_expansion_text_limit= (REXML::Document)
::entity_expansion_text_limit= (REXML::Security)
::get_namespace (REXML::Functions)
::local_name (REXML::Functions)
::method_missing (REXML::Functions)
::method_missing (REXML::QuickPath)
::namespace_context (REXML::Functions)
::namespace_context= (REXML::Functions)
::namespace_uri (REXML::Functions)
::new (REXML::DTD::ElementDecl)
::new (REXML::DTD::EntityDecl)
::new (REXML::DTD::NotationDecl)
::new (REXML::Formatters::Default)
::new (REXML::Formatters::Pretty)
::new (REXML::Formatters::Transitive)
::new (REXML::Parsers::BaseParser)
::new (REXML::Parsers::LightParser)
::new (REXML::Parsers::PullEvent)
::new (REXML::Parsers::PullParser)
::new (REXML::Parsers::SAX2Parser)
::new (REXML::Parsers::StreamParser)
::new (REXML::Parsers::TreeParser)
::new (REXML::Parsers::UltraLightParser)
::new (REXML::UndefinedNamespaceException)
::new (REXML::Validation::Choice)
::new (REXML::Validation::Event)
::new (REXML::Validation::Interleave)
::new (REXML::Validation::OneOrMore)
::new (REXML::Validation::Ref)
::new (REXML::Validation::RelaxNG)
::new (REXML::Validation::State)
::new (REXML::Validation::ValidationException)
::normalize_space (REXML::Functions)
::parse_args (REXML::QuickPath)
::parse_helper (REXML::DTD::Parser)
::parse_source (REXML::DTD::EntityDecl)
::parse_source (REXML::DTD::NotationDecl)
::parse_stream (REXML::Document)
::predicate (REXML::QuickPath)
::processing_instruction (REXML::Functions)
::starts_with (REXML::Functions)
::string_length (REXML::Functions)
::string_value (REXML::Functions)
::substring (REXML::Functions)
::substring_after (REXML::Functions)
::substring_before (REXML::Functions)
::translate (REXML::Functions)
::variables (REXML::Functions)
::variables= (REXML::Functions)
#<< (REXML::Validation::Choice)
#<< (REXML::Validation::State)
#== (REXML::Validation::Event)
#[] (REXML::Parsers::PullEvent)
#abbreviate (REXML::Parsers::XPathParser)
#add_attribute (REXML::Element)
#add_attributes (REXML::Element)
#add_element (REXML::Document)
#add_event_to_arry (REXML::Validation::Choice)
#add_event_to_arry (REXML::Validation::State)
#add_listener (REXML::Parsers::BaseParser)
#add_listener (REXML::Parsers::LightParser)
#add_listener (REXML::Parsers::PullParser)
#add_listener (REXML::Parsers::SAX2Parser)
#add_listener (REXML::Parsers::StreamParser)
#add_listener (REXML::Parsers::TreeParser)
#add_listener (REXML::Parsers::UltraLightParser)
#add_namespace (REXML::Element)
#attlistdecl (REXML::SAX2Listener)
#attlistdecl (REXML::StreamListener)
#attlistdecl? (REXML::Parsers::PullEvent)
#attribute_of (REXML::DocType)
#attributes_of (REXML::DocType)
#cdata (REXML::StreamListener)
#cdata? (REXML::Parsers::PullEvent)
#characters (REXML::SAX2Listener)
#children (REXML::Light::Node)
#comment (REXML::SAX2Listener)
#comment (REXML::StreamListener)
#comment? (REXML::Parsers::PullEvent)
#context (REXML::ParseException)
#current_line (REXML::IOSource)
#deafen (REXML::Parsers::SAX2Parser)
#delete_all (REXML::Attributes)
#delete_attribute (REXML::Element)
#delete_element (REXML::Element)
#delete_namespace (REXML::Element)
#doctype (REXML::SAX2Listener)
#doctype (REXML::StreamListener)
#doctype? (REXML::Parsers::PullEvent)
#doctype_end (REXML::StreamListener)
#done? (REXML::Validation::Event)
#dump (REXML::Validation::Validator)
#each (REXML::Parsers::PullParser)
#each_attribute (REXML::Attributes)
#each_element (REXML::Element)
#each_element_with_attribute (REXML::Element)
#each_element_with_text (REXML::Element)
#elementdecl (REXML::SAX2Listener)
#elementdecl (REXML::StreamListener)
#elementdecl? (REXML::Parsers::PullEvent)
#empty? (REXML::Parsers::BaseParser)
#end_document (REXML::SAX2Listener)
#end_element (REXML::SAX2Listener)
#end_element? (REXML::Parsers::PullEvent)
#end_prefix_mapping (REXML::SAX2Listener)
#entity (REXML::Parsers::BaseParser)
#entity (REXML::StreamListener)
#entity? (REXML::Parsers::PullEvent)
#entitydecl (REXML::SAX2Listener)
#entitydecl (REXML::StreamListener)
#entitydecl? (REXML::Parsers::PullEvent)
#error? (REXML::Parsers::PullEvent)
#event_type (REXML::Parsers::PullEvent)
#expand (REXML::Parsers::XPathParser)
#expand_ref_in (REXML::Validation::State)
#expanded_name (REXML::Document)
#expected (REXML::Validation::Choice)
#expected (REXML::Validation::Interleave)
#expected (REXML::Validation::OneOrMore)
#expected (REXML::Validation::Optional)
#expected (REXML::Validation::State)
#expected (REXML::Validation::ZeroOrMore)
#find_first_recursive (REXML::Node)
#fully_expanded_name (REXML::Namespace)
#generate_event (REXML::Validation::State)
#get_attribute (REXML::Attributes)
#get_attribute_ns (REXML::Attributes)
#get_elements (REXML::Element)
#get_first (REXML::XPathParser)
#has_attributes? (REXML::Element)
#has_elements? (REXML::Element)
#has_name? (REXML::Light::Node)
#has_next? (REXML::Parsers::BaseParser)
#ignore_whitespace_nodes (REXML::Element)
#include? (REXML::AttlistDecl)
#index_in_parent (REXML::Node)
#insert_before (REXML::Parent)
#inspect (REXML::Parsers::PullEvent)
#inspect (REXML::Validation::Choice)
#inspect (REXML::Validation::Event)
#inspect (REXML::Validation::Interleave)
#inspect (REXML::Validation::Ref)
#inspect (REXML::Validation::State)
#instruction (REXML::StreamListener)
#instruction? (REXML::Parsers::PullEvent)
#instructions (REXML::Element)
#length (REXML::SyncEnumerator)
#listen (REXML::Parsers::SAX2Parser)
#local_name (REXML::Light::Node)
#local_name= (REXML::Light::Node)
#match_to_consume (REXML::Source)
#matches? (REXML::Validation::Choice)
#matches? (REXML::Validation::Event)
#matches? (REXML::Validation::Interleave)
#matches? (REXML::Validation::OneOrMore)
#matches? (REXML::Validation::Optional)
#matches? (REXML::Validation::Sequence)
#namespace (REXML::Light::Node)
#namespace= (REXML::Light::Node)
#namespaces (REXML::Attributes)
#namespaces= (REXML::Parsers::XPathParser)
#namespaces= (REXML::XPathParser)
#next (REXML::Validation::Choice)
#next (REXML::Validation::Interleave)
#next (REXML::Validation::OneOrMore)
#next (REXML::Validation::Optional)
#next (REXML::Validation::State)
#next (REXML::Validation::ZeroOrMore)
#next_current (REXML::Validation::Interleave)
#next_element (REXML::Element)
#next_sibling_node (REXML::Node)
#node_type (REXML::AttlistDecl)
#node_type (REXML::Instruction)
#node_type (REXML::Light::Node)
#normalize (REXML::Parsers::BaseParser)
#notationdecl (REXML::SAX2Listener)
#notationdecl (REXML::StreamListener)
#notationdecl? (REXML::Parsers::PullEvent)
#parse (REXML::Parsers::LightParser)
#parse (REXML::Parsers::SAX2Parser)
#parse (REXML::Parsers::StreamParser)
#parse (REXML::Parsers::TreeParser)
#parse (REXML::Parsers::UltraLightParser)
#parse (REXML::Parsers::XPathParser)
#peek (REXML::Parsers::BaseParser)
#peek (REXML::Parsers::PullParser)
#position (REXML::ParseException)
#position (REXML::Parsers::BaseParser)
#predicate (REXML::Parsers::XPathParser)
#predicate (REXML::XPathParser)
#predicate_to_string (REXML::Parsers::XPathParser)
#previous= (REXML::Validation::State)
#previous_element (REXML::Element)
#previous_sibling= (REXML::Child)
#previous_sibling_node (REXML::Node)
#processing_instruction (REXML::SAX2Listener)
#progress (REXML::SAX2Listener)
#pull (REXML::Parsers::BaseParser)
#pull (REXML::Parsers::PullParser)
#receive (REXML::Validation::RelaxNG)
#record_entity_expansion (REXML::Document)
#replace_child (REXML::Parent)
#reset (REXML::Validation::Choice)
#reset (REXML::Validation::Interleave)
#reset (REXML::Validation::OneOrMore)
#reset (REXML::Validation::State)
#reset (REXML::Validation::Validator)
#rewind (REXML::Parsers::LightParser)
#rewind (REXML::Parsers::UltraLightParser)
#single? (REXML::Validation::Event)
#source (REXML::Parsers::SAX2Parser)
#stand_alone? (REXML::Document)
#start_document (REXML::SAX2Listener)
#start_element (REXML::SAX2Listener)
#start_element? (REXML::Parsers::PullEvent)
#start_prefix_mapping (REXML::SAX2Listener)
#stream= (REXML::Parsers::BaseParser)
#tag_end (REXML::StreamListener)
#tag_start (REXML::StreamListener)
#text? (REXML::Parsers::PullEvent)
#to_s (REXML::DTD::EntityDecl)
#to_s (REXML::DTD::NotationDecl)
#to_s (REXML::Validation::Event)
#to_s (REXML::Validation::Ref)
#to_s (REXML::Validation::State)
#unnormalize (REXML::Parsers::BaseParser)
#unshift (REXML::Parsers::BaseParser)
#unshift (REXML::Parsers::PullParser)
#validate (REXML::Validation::Validator)
#variables= (REXML::XPathParser)
#write (REXML::DTD::EntityDecl)
#write (REXML::DTD::NotationDecl)
#write (REXML::ExternalEntity)
#write (REXML::Formatters::Default)
#write_cdata (REXML::Formatters::Default)
#write_cdata (REXML::Formatters::Pretty)
#write_comment (REXML::Formatters::Default)
#write_comment (REXML::Formatters::Pretty)
#write_document (REXML::Formatters::Default)
#write_document (REXML::Formatters::Pretty)
#write_element (REXML::Formatters::Default)
#write_element (REXML::Formatters::Pretty)
#write_element (REXML::Formatters::Transitive)
#write_instruction (REXML::Formatters::Default)
#write_text (REXML::Formatters::Default)
#write_text (REXML::Formatters::Pretty)
#write_text (REXML::Formatters::Transitive)
#write_with_substitution (REXML::Text)
#xmldecl (REXML::SAX2Listener)
#xmldecl (REXML::StreamListener)