def parsePlayerProfile()

in src/main/scala/pa/Parser.scala [585:596]


  def parsePlayerProfile(s: String): PlayerProfile = {
    val node = XML.loadString(s) \\ "player"
    PlayerProfile(
      fullName    = node \> "fullName",
      height      = node \>> "height",
      weight      = node \>> "weight",
      dob         = (node \>> "dob").map(Date(_)),
      age         = node \>> "age",
      nationality = node \>> "nationality",
      position    = node \>> "position"
    )
  }