Sometimes it's obvious and sometimes this fact requires documentation and examples. From a programming perspective, text is a pain. In the first document, only three nodes need to be visited. The second document requires five nodes to be visited. Extra node traversals negatively affect processing performance.
More memory is needed to represent the additional nodes.
The document is bigger too, and document size affects parsing speed more than anything else. Tools such as XML Spy use attribute cardinality. For example, when editing an attribute, XML Spy displays a combo box containing the possible values. In order to add text to a document, a text node must be created and appended to an element. Mixed Content A node that has text content can only be extended via the ANY construct.