scalawilliam / xs4s   0.9.1

Website GitHub

XML Streaming for Scala including FS2/cats support

Scala versions: 3.x 2.13 2.12

XML Streaming for Scala (xs4s) Maven Central


  • Scala-friendly utilities around the 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.


Find the full documentation at -->

Authors & Contributors