I have a very basic question on XML design. I have XML which is used for generating UI. Its format is somewhat like below:
<Input>
<Label>Enter Machine Name</Label>
<ToolTip> Please enter the correct machine name</ToolTip>
<Type>TextField</Type>
</Input>
My question is whether writing the XML in above format is better or in the below format for better processing time results.
<Input Label="Enter Machine Name"
ToolTip="Please enter machine name"
Type="TextField">
Which type of XML will be parsed in lesser time?