Original Post
Everything is done with xml these days, which is great, the concept of such a tree structure in documents works great. But why's there the redundancy in it where the name of an element is repeated twice? It can be perfectly deduced what end tag belongs to what element just like finding matching bracket pairs, there's no need to repeat the name there. I can at least find two alternatives for the following structure:
<Alpha>
<Beta Gamma="Hi">Hello</Beta>
<Delta/>
</>
<Epsilon>
<Zeta>123</Zeta>
</Epsilon>
</Alpha>
Alternative 1:
<Alpha>
<Beta Gamma="Hi">Hello</>
<Delta/>
< />
<Epsilon>
<Zeta>123</>
</>
</>
Alternative 2:
<Alpha/
<Beta Gamma="Hi"/Hello>
<Delta/>
</>
<Epsilon/
<Zeta/123>
>
>
Why didn't something like that become the hugely adopted standard instead of the version where tagnames are repeated twice?