Skip to content

ScalaWilliam/xs4s

Repository files navigation

XML Streaming for Scala (xs4s) Maven Central

Capabilities

  • Scala-friendly utilities around the javax.xml.stream.events API.
  • A mapping from the to scala.xml.Elem and related XML classes.
  • An alternative method of parsing XML to scala.xml.XML.load(), for example
assert(xs4s.XML.loadString("<test/>") == <test/>)
  • An integration with FS2 and ZIO for pure-FP streaming.
  • Large file streaming, such as multi-gigabyte XML files, for example GZIPped files straight from Wikipedia, without running out of memory.

Documentation

Find the full documentation at --> https://www.scalawilliam.com/xml-streaming-for-scala/

Authors & Contributors