What are basic problems to using Attributes?

What are basic problems to using Attributes?

Some of the problems with using attributes are:

1. Attributes cannot contain multiple values 

2. Attributes cannot contain tree structures 

3. Attributes are not easily expandable

Attributes are difficult to read and maintain. Use elements for data. Use attributes for information that is not relevant to the data.

 



By:Aditya
Date:2027-10-10 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related XML Subjective Links

XML Subjective interview questions and answers for experienced and fresher