Hi all. In this post, I will share some basic information that will help you work with an XML file. The first thing to know about XML in Scala is that Scala can process XML literals, so you don’t need to have any specific dependencies for working with XML. You can directly put the whole XML file into the Scala REPL and Scala will automatically interpret it as XML.
So let’s do some basic examples to get an understanding of how to play with XML.