talira

Compare

libxml-rubyNokogiri
What it isRuby bindings for the libxml2 XML toolkitRead, write, modify and query XML and HTML from Ruby
KindOpen sourceOpen source
Trust0.300.69
Stars1306294
Last commit2026-04-082026-11-21
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
Companyxml4rSparkle Motion
Features
  • read and write XML files
  • XPath search
  • XML validation
  • DOM parser for XML, HTML4 and HTML5
  • SAX parser for XML and HTML4
  • push parser for XML and HTML4
  • document search via XPath 1.0
  • document search via CSS3 selectors, with some jQuery-like extensions
  • XSD schema validation
  • XSLT transformation
  • Builder DSL for XML and HTML documents
  • All 10 features
Limitations
  • Builds a native extension against libxml2, so the libxml2 headers and xml2-config must be found at install time.
  • Behaves differently by parser: it stays a thin layer over libxml2, libgumbo and xerces and doesn't paper over their differences, so CRuby and JRuby can give different results
  • Searches with XPath 1.0 only: it doesn't support XPath 2.0 or 3.x
  • Needs a C toolchain off its native platforms: elsewhere the gem compiles its C extension and needs Ruby headers and system libraries