/xml.cr

Native XML for the Crystal language

Primary LanguageCrystal

CRXML

CRXML aims to be a pure-crystal replacement to XML in stdlib (that leverages libxml2). Full conformance as achieved by libxml2 is obviously a very long-term dream.

Goals:

  • Multiple parsers: DOM, SAX, streaming.
  • HTML support (with its special quirks);
  • Error recoverability (unless asked to validate);
  • XPATH queries.

Non goals (at least not immediate):

  • CSS queries (maybe through a CSS to XPATH transformer).
  • DTD validations;
  • XML schemas;
  • XSLT transformations.

References

Test suites