@classmethod
def from_wfs_element(cls, feature, namespace):
    """Build an instance from a WFS feature element.

        Parameters
        ----------
        feature : etree.Element
            XML element representing a single record of the WFS layer.
        namespace : str
            Namespace associated with this WFS featuretype.

        Returns
        -------
        instance of this class
            An instance of this class populated with the data from the WFS
            element.

        """
    instance = cls(feature.findtext('./{{{}}}Interpretatiefiche'.format(
        namespace)))
    for field in cls.get_fields(source=('wfs',)).values():
        instance.data[field['name']] = cls._parse(func=feature.findtext,
            xpath=field['sourcefield'], namespace=namespace, returntype=
            field.get('type', None))
    return instance
