MySQL, Firebird, XML, JSON, CSV or YAML generator for custom Countries data. All the data is fetched from geonames.org
http://peric.github.com/GetCountries
Here is a screenshot of the YAML generated output, having selected only countryCode and countryName columns:To check if everything's fine, according to YAML's strict syntax, <a href="http://www.yamllint.com/>YAML Lint is a good solution: