Partial xml parser. Not done yet.