&gt; <i>Not to mention XML&#x27;s main advantage over many other formats is having hierarchical relationships--but how does that help in a chat protocol?</i><p>Extendability. Transporting Messages in other messages. Transporting hierarchical data instead of only text.