def parse_control_scanning_from_xml(xml)
      enabled = false
      if elem = REXML::XPath.first(xml, '//enableControlsScan[@enabled]')
        enabled = elem.attribute('enabled').value.to_i == 1
      end
      enabled
    end
def parse_control_scanning_from_xml(xml)
      enabled = false
      if elem = REXML::XPath.first(xml, '//enableControlsScan[@enabled]')
        enabled = elem.attribute('enabled').value.to_i == 1
      end
      enabled
    end
Internal method for parsing XML for whether control scanning in enabled.