Lemnisk interview question

Write an XML parser.