In XML, what is the difference between the attribute of an element and its PCDATA?
For example, say I have
<name>
<first>John</first>
<middle>Fitzgerald Johansen</middle>
<last>Doe</last>
</name>
And using only attributes, I convert it to
<name first=“John”
middle=“Fitzgerald Johansen”
last=“Doe”
/>
Does this invoke any change or is it the same thing expressed in different ways?