def _convert_xml_to_page_ranges(response):
if response is None or response.body is None:<EOL><INDENT>return response<EOL><DEDENT>page_list = list()<EOL>list_element = ETree.fromstring(response.body)<EOL>page_range_elements = list_element.findall('<STR_LIT>')<EOL>for page_range_element in page_range_elements:<EOL><INDENT>page_list.append(<EOL>PageRange(<EOL>int(page_range_element.findtext('<STR_LIT>')),<EOL>int(page_range_element.findtext('<STR_LIT>'))<EOL>)<EOL>)<EOL><DEDENT>return page_list<EOL>
<?xml version="1.0" encoding="utf-8"?>
<PageList>
   <PageRange>
      <Start>Start Byte</Start>
      <End>End Byte</End>
   </PageRange>
   <PageRange>
      <Start>Start Byte</Start>
      <End>End Byte</End>
   </PageRange>
</PageList>