I think that XML can be a good choice in many situations. Informal formats are sometimes too limited or ambiguous: In defense of XML by Nicolas Fränkel