extract_xml_section_from_lines function

Get the lines of an XML section, including the section tags