def _convert_xml_to_ranges(response):
if response is None or response.body is None:<EOL><INDENT>return None<EOL><DEDENT>ranges = list()<EOL>ranges_element = ETree.fromstring(response.body)<EOL>for range_element in ranges_element.findall('<STR_LIT>'):<EOL><INDENT>range = FileRange(int(range_element.findtext('<STR_LIT>')), int(range_element.findtext('<STR_LIT>')))<EOL>ranges.append(range)<EOL><DEDENT>return ranges<EOL>
<?xml version="1.0" encoding="utf-8"?>
<Ranges>
  <Range>
    <Start>Start Byte</Start>
    <End>End Byte</End>
  </Range>
  <Range>
    <Start>Start Byte</Start>
    <End>End Byte</End>
  </Range>
</Ranges>