> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Ed Leafe > Sent: Thursday, January 15, 2009 8:34 AM > Subject: Re: [NF] M$ is pushing ahead for performance > > On Jan 15, 2009, at 10:26 AM, Stephen Russell wrote: > > > <?xml version="1.0"?> > > <product> > > <category>desserts</category> > > <item>Banana Split</item> > > <inventory> > > <sku>Banadess3nz4Zv</sku> > > <price>10.43</price> > > <inventory>0</inventory> > > </inventory> > > <vendor>The Baking Pan</vendor> > > </product> > > I prefer an attribute-based XML. Not only is is more compact, but it > more closely parallels the way data is stored in an RDBMS. Your XML > above would be written: > > <?xml version="1.0"?> > <product category="desserts"> > <item sku="Banadess3nz4Zv" price="10.43" inventory="0" vendor="The > Baking Pan">Banana Split</item> > </product>
Show off... Let me join the fray on this... I prefer SR's version since to me it is much more readable, which I always thought was (one of) the point of XML. Granted yours is much less verbose... Do standard readers such as those built into browsers handle the "attribute-based XML"? Matt Jarvis Programmer/DBA King | Retail Solutions 541-349-8512 Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

