@classmethod
def from_xml(cls, node):
    """
        Construct a Symbol from a ``<symbol>`` XML node in EAGLE's XML format.
        """
    name = node.attrib['name']
    primitives = cls.geometry_from_xml(node)
    return cls(name=name, primitives=primitives)
