Time-resolved x-ray spectroscopy at the Si L edges is used to probe the electronic structure of an amorphous Si foil as it melts following absorption of an ultrafast laser pulse. Picosecond temporal resolution allows observation of the transient liquid phase before vaporization and before the liquid breaks up into droplets. The melting causes changes in the spectrum that match predictions of molecular dynamics and ab initio x-ray absorption codes.