If I omit the semicolon, this code doesn\'t compile.
def checkRadioButton(xml: DslBuilder): String => XmlTree = { val inputs = top(xml).\\\\*(hasLocal
I’d write it like this instead:
def checkRadioButton(xml: DslBuilder): String => XmlTree = { val inputs = top(xml).\\*(hasLocalNameX("input")); (buttonValue: String) => { // <-- changed position of { // code omitted } }