Entries from 2012-01-01 to 1 day

ScalaでXMLからjQueryっぽく要素を抜き出せるものを作った

ScalaでXMLから要素を抜き出す方法について。 // テストデータ val html = <html> <head> <title> </title> </head> <body> <ul> <li>akemashite</li> <li>omedetou</li> </ul> <div id="container"> <div class="contents"> <span class="foo">happy</span> <span class="foo">new</span> <span class="foo">year</span> </div> </div> </body></html>