Monday, June 15, 2009

Principles of XML design: When to use elements versus attributes

Principles of XML design: When to use elements versus attributes: "The oldest question asked by adopters of XML is when to use elements and when to use attributes in XML design. As with most design issues, this question rarely has absolute answers, but developers have also experienced a lack of very clear guidelines to help them make this decision. In this article, Uche Ogbuji offers a set of guiding principles for what to put in elements and what to put in attributes."