Simple xml parse and build lib.