Arguments over whether it is best to use elements or attributes to store values are common in XML applications. Which questions should an XML developer ask to determine whether it is best to use elements or attributes to store values for a particular situation? a)Is the data flat or hierarchical? b)Do multiple values need to be offered? c)Do child information items need to be ordered? d)Does information need to be distributed over multiple devices? e)Does information need to be queried? f)Does the value have one of an enumeration of values? Given answer is a, b, c, f I think e should also be in the list, my reason being, that I read somewhere, that processing attributes is faster than elements. Am I right in my assumption?
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop