File: C:/Ruby27-x64/share/doc/ruby/html/REXML.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>module REXML - RDoc Documentation</title>
<script type="text/javascript">
var rdoc_rel_prefix = "./";
var index_rel_prefix = "./";
</script>
<script src="./js/navigation.js" defer></script>
<script src="./js/search.js" defer></script>
<script src="./js/search_index.js" defer></script>
<script src="./js/searcher.js" defer></script>
<script src="./js/darkfish.js" defer></script>
<link href="./css/fonts.css" rel="stylesheet">
<link href="./css/rdoc.css" rel="stylesheet">
<body id="top" role="document" class="module">
<nav role="navigation">
<div id="project-navigation">
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
<h2>
<a href="./index.html" rel="home">Home</a>
</h2>
<div id="table-of-contents-navigation">
<a href="./table_of_contents.html#pages">Pages</a>
<a href="./table_of_contents.html#classes">Classes</a>
<a href="./table_of_contents.html#methods">Methods</a>
</div>
</div>
<div id="search-section" role="search" class="project-section initially-hidden">
<form action="#" method="get" accept-charset="utf-8">
<div id="search-field-wrapper">
<input id="search-field" role="combobox" aria-label="Search"
aria-autocomplete="list" aria-controls="search-results"
type="text" name="search" placeholder="Search" spellcheck="false"
title="Type to search, Up and Down to navigate, Enter to load">
</div>
<ul id="search-results" aria-label="Search Results"
aria-busy="false" aria-expanded="false"
aria-atomic="false" class="initially-hidden"></ul>
</form>
</div>
</div>
<div id="class-metadata">
</div>
</nav>
<main role="main" aria-labelledby="module-REXML">
<h1 id="module-REXML" class="module">
module REXML
</h1>
<section class="description">
<dl class="rdoc-list label-list"><dt> :element, parent, name, attributes, children*
<dd>
<p>a = Node.new a << “B” # => <a>B</a> a.b # => <a>B<b/></a> <a href="1">a.b</a> # => <a>B<b/><b/><a> <a href="1">a.b</a>[“x”] = “y” # => <a>B<b/><b x=“y”/></a> <a href="0">a.b</a>.c # => <a>B<strong><c/></strong><b x=“y”/></a> a.b.c << “D” # => <a>B<strong><c>D</c></strong><b x=“y”/></a></p>
</dd></dl>
<p><a href="REXML.html"><code>REXML</code></a> is an <a href="XML.html"><code>XML</code></a> toolkit for <a href="http://www.ruby-lang.org">Ruby</a>, in Ruby.</p>
<p><a href="REXML.html"><code>REXML</code></a> is a <em>pure</em> Ruby, <a href="XML.html"><code>XML</code></a> 1.0 conforming, <a href="http://www.w3.org/TR/2004/REC-xml-20040204/#sec-conformance">non-validating</a> toolkit with an intuitive API. <a href="REXML.html"><code>REXML</code></a> passes 100% of the non-validating Oasis <a href="http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.shtml">tests</a>, and provides tree, stream, SAX2, pull, and lightweight APIs. <a href="REXML.html"><code>REXML</code></a> also includes a full <a href="http://www.w3c.org/tr/xpath">XPath</a> 1.0 implementation. Since Ruby 1.8, <a href="REXML.html"><code>REXML</code></a> is included in the standard Ruby distribution.</p>
<dl class="rdoc-list note-list"><dt>Main page
<dd>
<p><a href="http://www.germane-software.com/software/rexml">www.germane-software.com/software/rexml</a></p>
</dd><dt>Author
<dd>
<p>Sean Russell <serATgermaneHYPHENsoftwareDOTcom></p>
</dd><dt><a href="Date.html"><code>Date</code></a>
<dd>
<p>2008/019</p>
</dd><dt><a href="REXML.html#Version"><code>Version</code></a>
<dd>
<p>3.1.7.3</p>
</dd></dl>
<p>This API documentation can be downloaded from the <a href="REXML.html"><code>REXML</code></a> home page, or can be accessed <a href="http://www.germane-software.com/software/rexml_doc">online</a></p>
<p>A tutorial is available in the <a href="REXML.html"><code>REXML</code></a> distribution in docs/tutorial.html, or can be accessed <a href="http://www.germane-software.com/software/rexml/docs/tutorial.html">online</a></p>
</section>
<section id="5Buntitled-5D" class="documentation-section">
<section class="constants-list">
<header>
<h3>Constants</h3>
</header>
<dl>
<dt id="COPYRIGHT">COPYRIGHT
<dd>
<dt id="Copyright">Copyright
<dd>
<dt id="DATE">DATE
<dd>
<dt id="REVISION">REVISION
<dd>
<dt id="VERSION">VERSION
<dd>
<dt id="Version">Version
<dd>
</dl>
</section>
</section>
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.1.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>