How to iterate XML in Request


     I am sending xml post request in play framework (scala) in postman  as below

i want names of all employee like

Hello Ram, Sam and Tom

My code

def sayHello = Action(parse.xml) { request =>
  (request.body \\ "name" headOption).map(_.text).map { name =>
    Ok("Hello " + name)
  }.getOrElse {
    BadRequest("Missing parameter [name]")

My output

Hello Ram

But i want Hello Ram, Sam and Tom

So i am not getting how to iterate XML