Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文字列を XML に変換する必要がある
scala> val string="<play><scala></scala></play>" string: String = <play><scala></scala></play> scala> val xml=(<play><scala></scala></play>) xml: scala.xml.Elem = <play><scala></scala></play>
scala> scala.xml.XML.loadString(string) res0: scala.xml.Elem = <play><scala/></play>