parameters: (self, object, rid, xml_mapping, as_string=True, context_document=None)
return_statement: return xml_rid
docstring: return the xml with Rid of Object
docstring_summary: return the xml with Rid of Object
docstring_tokens: return the xml with Rid of Object
function: def getXMLFromObjectWithRid(self, object, rid, xml_mapping, as_string=True, context_document=None): # pylint: disable=redefined-builtin
      """
        return the xml with Rid of Object
      """
      xml_id = self.getXMLFromObjectWithId(object, xml_mapping, context_document=context_document)
      xml_rid = self.replaceIdFromXML(xml_id, 'rid', rid, as_string=as_string)
      return xml_rid
function_tokens: def getXMLFromObjectWithRid ( self , object , rid , xml_mapping , as_string = True , context_document = None ) : # pylint: disable=redefined-builtin xml_id = self . getXMLFromObjectWithId ( object , xml_mapping , context_document = context_document ) xml_rid = self . replaceIdFromXML ( xml_id , 'rid' , rid , as_string = as_string ) return xml_rid