parse_xml_annotations function

Parse XML annotations into linguistic layers