XML is not a trivial item to parse. It is also a pure data holding environ. sendmail uses m4 which has macro and other programming ability. You would have to parse the xml, then run it thru an m4 type thing. A well commented and defined format is worth more to me than every app using the same format. exim is quite nice to configure for that reason. XML would just add more code.