Question: I have a log file with errors from a migration I am doing of mail systems. I need to take user migration error logs and make them readable for the end user. A log file might contain a hundred errors. Each error is in XML format. There is usually a great deal of extraneous text around the tags but the important stuff is in between the subject and date tags. What is the best way to parse this file and put the output into another file?

 message subject
 march 11 2010
 ....more tags

Answer: 
I don't know how you feel about Java, but if you're interested you could check these tutorials out.

[Tutorial 1](http://www.java-samples.com/showtutorial.php?tutorialid=152)
[Tutorial 2](http://www.totheriver.com/learn/xml/xmltutorial.html)

If not, good keywords for Google are Sax parsing and DOM parsing. You can read up on them on Wikipedia if you want the in-depth differences between the two. For dealing with 100 errors I would think the differences between the two would be minimal.
Many languages have xml-parsers built in. Depending on your language of choice, you might want to take a look and see what it has to offer.