@classmethod<EOL><INDENT>def from_xml(cls, xml):<DEDENT>
s = parse_string(xml)<EOL>return Sentence(s.split("<STR_LIT:\n>")[<NUM_LIT:0>], token=s.tags, language=s.language)<EOL>
Returns a new Text from the given XML string.