jnpr/space/resource.py
def xml_string(self):
        """
        Returns a string that contains formatted XML representing the
        state of this resource.
        """
        if self._xml_data is not None:
            return etree.tostring(self._xml_data, encoding='unicode', pretty_print=True)
        else:
            return 'No XML data'

        Returns a string that contains formatted XML representing the
        state of this resource.
        
Returns a string that contains formatted XML representing the
state of this resource.
Returns a string that contains formatted XML representing the state of this resource .
def xml_string(self):
        if self._xml_data is not None:
            return etree.tostring(self._xml_data, encoding='unicode', pretty_print=True)
        else:
            return 'No XML data'
def xml_string ( self ) : if self . _xml_data is not None : return etree . tostring ( self . _xml_data , encoding = 'unicode' , pretty_print = True ) else : return 'No XML data'
Returns a string that contains formatted XML representing the
state of this resource.
Returns a string that contains formatted XML representing the state of this resource .
"""
        Returns a string that contains formatted XML representing the
        state of this resource.
        """
self