I'm curious, does XML standard allow me to write tags without content as one tag?
I'll give you 2 examples:
Can I interchange <img alt="foo" />
with <img alt="foo"></img>
?
Or can I interchange the tag implying and empty message <message></message>
with just a simple <message />
tag?
In the answer could you please quote the spec or show the source?