We experimentally demonstrate the use of saw-tooth optical pulses, which are shaped using a fiber Bragg grating, to achieve robust and high performance time-domain add-drop multiplexing in a scheme based on cross-phase (XPM) modulation in an optical fiber, with subsequent offset filtering. As compared to the use of more conventional pulse shapes, such as Gaussian pulses of a similar pulse width, the purpose-shaped saw-tooth pulses allow higher extinction ratios for the add and drop windows and significant improvements in the receiver sensitivity for the dropped and added channels.