Added xml parsing capability and unit test.