jnpr/space/xmlutil.py
def cleanup(src):
    """
    Some responses from Space contains escaped form for XML special characters.
    E.g. '&lt;' for '<', etc. This method removes these escaped notations.

    :param str src: Source string

    :returns: String with escaped notations replaced.
    """
    xml = src.replace('&lt;', '<').replace('&gt;', '>')
    xml = xml.replace('&quot;', '"')
    return xml

    Some responses from Space contains escaped form for XML special characters.
    E.g. '&lt;' for '<', etc. This method removes these escaped notations.

    :param str src: Source string

    :returns: String with escaped notations replaced.
    
Some responses from Space contains escaped form for XML special characters.
Some responses from Space contains escaped form for XML special characters .
def cleanup(src):
    xml = src.replace('&lt;', '<').replace('&gt;', '>')
    xml = xml.replace('&quot;', '"')
    return xml
def cleanup ( src ) : xml = src . replace ( '&lt;' , '<' ) . replace ( '&gt;' , '>' ) xml = xml . replace ( '&quot;' , '"' ) return xml
Some responses from Space contains escaped form for XML special characters.
Some responses from Space contains escaped form for XML special characters .
"""
    Some responses from Space contains escaped form for XML special characters.
    E.g. '&lt;' for '<', etc. This method removes these escaped notations.

    :param str src: Source string

    :returns: String with escaped notations replaced.
    """
String with escaped notations replaced.
String with escaped notations replaced .
src
None