Skip to content

scala/scala-xml

Repository files navigation

scala-xml latest release for 2.12 latest release for 2.13 latest release for 3.0

The standard Scala XML library. Please file XML issues here, not at https://github.com/scala/bug/issues or http://github.com/lampepfl/dotty/issues.

The decoupling of scala-xml from the Scala compiler and standard library is possible because the compiler desugars XML literals in Scala source code into a set of method calls. Alternative implementations of these calls are welcome! Compiler code that shows the calls needed: Scala 2.11, Scala 2.12, Scala 2.13, Scala 3.

API documentation is available here.

How-to documentation is available in the wiki

Maintenance status

This library is community-maintained. Maintainers with merge rights include @aaron_s_hawley and @dubinsky.

Contributors are welcome. Please consult the contributor guide on the wiki.

Issues

Some old issues from the Scala issue tracker have been migrated here, but not all of them. Community assistance identifying and migrating still-relevant issues is welcome. See this page for details.

Related projects

  • Advxml - Functional library combining scala-xml with cats-core
  • Binding.scala - Reactive programming library
  • ezXML - Extensions for traverse, encoding, decoding and mapping XML
  • http4s-scala-xml - XML literal support in http4s
  • Json4s XML - Conversion to and from JSON
  • monadic-html - DOM-like event-based programming with XHTML
  • phobos - Data-binding library based on stream parsing using Aalto XML
  • scalacheck-xml - Provides Scalacheck instances for scala-xml
  • scalaxb - XML data binding, serialization, SOAP and WSDL support
  • ScalaTags - Alternative syntax for XML literals
  • scala-xml-dotty - Macro library for XML literals in Dotty
  • XML SPaC - Streaming event-based parser combinators
  • xs4s - XML streaming for Scala
  • xtract - A library for deserializing XML

You might also search "XML" on Scaladex.