@classmethod
def _parse_simple_attribs(cls, node):
    """Parse all attributes in the _ATTRIBS array for this class.

        Parameters
        ----------
        node : :class:`lxml.etree.Element`
            The node to parse attributes for.

        Returns
        -------
        kwargs : dict
            Map from attribute name to value. If the attribute is not
            required and is not present, that attribute's name will map to
            ``None``.
        """
    kwargs = {}
    for a in cls._ATTRIBS:
        t, r = cls._ATTRIBS[a]
        if r:
            try:
                v = cls._parse_attrib(t, node.attrib[a])
            except Exception:
                raise ValueError(
                    'Missing required attribute {} when parsing an object of type {}'
                    .format(a, cls.__name__))
        else:
            v = None
            if a in node.attrib:
                v = cls._parse_attrib(t, node.attrib[a])
        kwargs[a] = v
    return kwargs
