bookmark

Working with Scala’s XML Support - Code Commit


Description

<foo id="bar"/> match { // prints "bar" case n @ <foo/> if (n \ "@id" text) == "bar" => println("bar") case n @ <foo/> if (n \ "@id" text) == "baz" => println("baz") }

Preview

Tags

Users

  • @sac
  • @fsteeg

Comments and Reviews