@classmethod
def from_element(cls, data, session=None):
    """
        Convert XML / Element to object

        Parameters
        ----------
        data : xml-string or Element
            The element to convert
        session : Session, optional
            The requests.Session object

        Returns
        -------
        :class:`FieldSelection`

        """
    return cls(data.attrib['name'], data.attrib['source'])
