Kudos to the author for making this very clear and easy to understand. More technical writing should be like this.
On another note, it's mind-blowing that a single string can parse as XML, JSON, and YAML.