Our application receives an XML message from another system. The XML is structured like this:
<params>
<param name="FOO" value="BAR"/>
...
</params>
What is the best way, using Scala's native XML processing, to return the value BAR for the parameter which is FOO, so that:
val foo = "BAR"
Thanks