def METHOD_NAME(self, pid, record, **kwargs):
    """Serialize a single record.
    :param pid: Persistent identifier instance.
    :param record: Record instance.
    """
    return self._etree_tostring(
        self.transform_with_xslt(pid, record, **kwargs))