Empoli is on the main railway line from Florence to Pisa, and is the point of divergence of a line to Siena.
Empoli is in the main railway line from Florence to Pisa. It is the point where the line to Siena splits.