@classmethod
def from_xml(cls, gate_node):
    """
        Construct a Gate from a ``<gate>`` XML node in EAGLE's XML format.
        """
    symbol = None
    return cls(name=gate_node.attrib['name'], symbol=symbol, x=gate_node.
        attrib['x'], y=gate_node.attrib['y'])
