Maybe ASN.1? Although that has an official XML encoding so maybe not.