IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Prefer elements over attributes
In my experience, I find that elements are preferable over attributes.

As an XML document/schema evolves over time, it is easier to turn a simple XML element into a complex/compound element as compared to turning an attribute into a compund/complex element.

Attributes are most useful for indexing when you want to normalize the "objects" in the XML document.

Darryl A. Peterson


I'm not as funny as I think I am.
New OK, so starting to form a distinction here...
Attributes as indexing (as cforde pointed out as well).
Regards,

-scott anderson
New Yeah, back to what he said again
Attributes as indexing to indicate, to the parser and the human reader, which object you're referring to. You can define in the DTD that each <atom> can only have one <name> element, can't you?
We have to fight the terrorists as if there were no rules and preserve our open society as if there were no terrorists. -- [link|http://www.nytimes.com/2001/04/05/opinion/BIO-FRIEDMAN.html|Thomas Friedman]
     XML: Attributes vs. elements - (admin) - (17)
         Re: XML: Attributes vs. elements - (neelk) - (1)
             Keeping tools in mind... - (admin)
         One thought... - (ChrisR) - (8)
             Something else I noticed... - (admin) - (7)
                 Attributes implies (to me) an inherent property - (drewk) - (6)
                     Re: Attributes implies (to me) an inherent property - (admin) - (3)
                         Sodium. Glad to help. :-) -NT - (Another Scott)
                         Attribute - (cforde) - (1)
                             I'll agree with Carl here - (drewk)
                     Implies to Me - Design Idiocy - (deSitter) - (1)
                         Once again, don't pontificate... - (admin)
         Prefer elements over attributes - (dpeterson) - (2)
             OK, so starting to form a distinction here... - (admin) - (1)
                 Yeah, back to what he said again - (drewk)
         My rule of thumb - (tuberculosis) - (2)
             Ah, nicely succinct. Thanks. -NT - (admin)
             Snort - (deSitter)

I hope you are enjoy it.
43 ms