xmlParsing001.scala:13: in XML literal: expected closing tag of hello val y = .toString(); ^ xmlParsing001.scala:13: in XML literal: '>' expected instead of '.' val y = .toString(); ^ two errors found