xmlsnipe is a simple utility for manipulating XML documents in streams, similar to what sed provides. It makes it possible to print, delete, and change the content of nodes specified in a set of XPath statements.