def parse_asset_linking_from_xml(xml)
      enabled = true
      if elem = REXML::XPath.first(xml, '//AssetCorrelation[@enabled]')
        enabled = elem.attribute('enabled').value.to_i == 1
      end
      enabled
    end
def parse_asset_linking_from_xml(xml)
      enabled = true
      if elem = REXML::XPath.first(xml, '//AssetCorrelation[@enabled]')
        enabled = elem.attribute('enabled').value.to_i == 1
      end
      enabled
    end
Internal method for parsing XML for whether asset linking in enabled.