I think you can do this via
```
bool temp;
if (XMLUtils::GetBoolean(pControlNode, "scroll", temp))
  scrollValue = temp ? CGUIControl::ALWAYS : CGUIControl::NEVER;
```