I am developing a software for animal population genetics, and at one point the user must select a species and possibly a breed. Instead of writing by hand a list of domestic animal breeds or species, I'd like to obtain it programmatically from a local or remote source, that is, in a standarized format like a XML or RDF file. For example, the DAD-IS (Domestic Animal Diversity Information System) has a list of species : http://dad.fao.org/cgi-bin/EfabisWeb.cgi?sid=1369c2a0c0fbcb93d742cc42be795d3b,reportsreport10 and for each one, you may get a list of breeds grouped by country. AFAIK they do not offer a web service to consume this kind of information. Do you know any other source of such information? Can you show an example in any programming language?
This is probably the best solution for species, if not breeds (though note it is not an "authoritative" taxonomic source). There seem to be several incomplete, poorly-designed online resources for breeds, all of which lack any kind of useful features such as APIs or downloadable data.
It would be nice if you may provide more detailed information, there are several files in the directory and narrowing the search it would save some time to people.