Ruby bindings for the libxml2 XML toolkit
open sourceMITfree
libxml-ruby is the libxml gem: Ruby language bindings for GNOME's libxml2 XML toolkit. It reads and writes XML files, searches them with XPath and validates them, and needs Ruby 3.2 or newer.
Problems it solves
- parse and query XML from Ruby with XPath
- validate XML files in a Ruby program
- use libxml2 from Ruby
Features
- read and write XML files
- XPath search
- XML validation
Limitations
- Builds a native extension against libxml2, so the libxml2 headers and xml2-config must be found at install time.1
Alternatives
The same job
These do what libxml-ruby does.
- Nokogiri Read, write, modify and query XML and HTML from Ruby