Question: what is difference between xml and yaml?
Answer: 5 Answers. YAML is much less verbose. ... The biggest difference, though, is that XML is meant to be a markup language and YAML is really more of a data format. Representing simple, hierarchical data tends to be more gracefully done in YAML, but actual marked-up text is awkward to represent.