First commit add xml.go and xml_test.go.