Registry / serialization / libxml-ruby

libxml-ruby

JSON →
library6.0.0rbrubygemsunverified

libxml-Ruby provides Ruby language bindings for libxml2, offering DOM, SAX, Reader, and Writer APIs along with XPath support and validation via DTD, RelaxNG, and XML Schema.

gem install libxml-ruby
INSTALL
IMPORT
SIG · LIBXML-RUBY
L
libxml-ruby
serializationrubyv6.0.0
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.

LibXML
require 'libxml'

Parse an XML string and access element content.

require 'libxml' doc = LibXML::XML::Document.string('<root><item>value</item></root>') puts doc.root.first_child.content
Debug
Known issues
gotchaRequires libxml2 system library; may need to install development headers.
fix
Install libxml2-dev (Linux) or use a package manager like Homebrew (macOS).
affects: >= 0.0.0
Upgrade
Version history
6.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
32
Resources
libxml-ruby — gem install libxml-ruby · libregistry