Registry / serialization / rexml
library3.4.4rbrubygemsunverified

An XML toolkit for Ruby, providing parsing and generation of XML documents.

gem install rexml
INSTALL
IMPORT
SIG · REXML
R
rexml
serializationrubyv3.4.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

REXML
✓ require 'rexml/document'

Parses an XML string and accesses an element.

require 'rexml/document' doc = REXML::Document.new('<root><item/></root>') puts doc.root.elements['item'].name
Debug
Known issues
breakingREXML is vulnerable to XML entity expansion attacks (Billion Laughs).
fix
Use REXML::Document.parse_stream with entity expansion limits or switch to Nokogiri.
affects: < 3.3.9
Upgrade
Version history
3.4.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
rexml — gem install rexml · libregistry