RE: Six Reasons Not to use XML Attributes
> I'm guessing you skipped the joy of sax parsing? > > :) > Nope, my brain hurts from using almost all XML technology at some point . All I'm saying is that this is an artifact of the specific XML technology your using not intrinsic to XML. Onceaponatime I argued *heavily* for use of attributes wherever possible precisely for this reason. That it was easier and more efficient to access attributes then child elements. Later as both myself and the tools I used evolved I've switched my personal style oppinion to suggesting limiting (but not removing) use of attributes because in the long run suggesting XML style based on the ease of a particular toolkit is not a forward thinking strategy ... especially as toolkits evolved which make it just as easy (and fast) to get at child elements as attributes. So now my current philosophy is to use child elements primarily, and attributes infrequently. The old data-metadata argument. But its a moving target :) As for the bounded search problem , I argue that's not intrinsic either. Ive heard of documents with multi megabytes of attributes in a single element. ---------------------------------------- David A. Lee firstname.lastname@example.org http://www.xmlsh.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format