Mechanism of 3-deoxy-D-arabino-heptulosonate 7-phosphate (DAHP) synthetase.