def _fromstring(value):
if not value:<EOL><INDENT>return None<EOL><DEDENT>std_value = value.strip().lower()<EOL>if std_value == '<STR_LIT:true>':<EOL><INDENT>return '<STR_LIT:true>'<EOL><DEDENT>elif std_value == '<STR_LIT:false>':<EOL><INDENT>return '<STR_LIT:false>'<EOL>
_fromstring

    Convert XML string value to None, boolean, int or float.