Scala/XML

Scala makes processing and producing XML very easy. This enables programmers to very easily talk to web services and other sources of XML data.

XML Literals
In Scala, XML can be used as a literal. This means you can do something like this:

You can include expressions within XML using curly braces like this:

As you can see curly braces are special characters in Scala XML, therefore if you just want to display a curly brace just repeat it twice: {{

Exploring XML
When you have some XML, you can explore it using the backslash and double backslash methods: