Play around with scala.xml._ and it doesn't work out due to no String to
XPath evaluator. Found Jsoup with css query support. Look it can support
append/prepend/after/before/remove through Element class. I am pretty if
you play around with html/setHtml you can implement other APIs.