If I omit the semicolon, this code doesn\'t compile.
def checkRadioButton(xml: DslBuilder): String => XmlTree = { val inputs = top(xml).\\\\*(hasLocal
Just add a second newline, which apparently is equivalent to the semicolon.
Still, I'm not entirely happy with this, as it seems fragile.