Please find the below limitations of using the attributes rather elements
attributes cannot contain multiple values (child elements can)
attributes are not easily expandable (for future changes)
attributes cannot describe structures (child elements can)
attributes are more difficult to manipulate by program code
attribute values are not easy to
test against a Document Type Definition (DTD) - which is used to define the legal elements of an XML document
-Dhanasekar.T