XML grep

Write a simple grep program for XML. Use the xpath capability in Lxml. Your program should take a pattern and a list of files from the command line. Print out (1) the file name, (2) the source line number, and (3) the element itself.