OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SV: SV: [xml-dev] XML=WAP? And DOA?

[ Lists Home | Date Index | Thread Index ]

1/14/2002 8:49:16 AM, Al Snell <alaric@alaric-snell.com> 
wrote:

>"Name","Email","Web"
>"Alaric Snell","alaric@alaric-snell.com","http://www.alaric-
snell.com"
>

How about if you have 10 fields rather than 3, and the 666th 
line is (sorry, my mailer wraps lines ...)

984,55,"http://www.cnn.com";, Alaric Snell", "George Bush", 
"alaric@alaric-snell.com",23,"flames@microsoft.com", 
"http://www.alaric-snell.com";, "president@whitehouse.gov"

vs the XML

<users><userid>984</userid>
<site>55</site>
<preferred_news>http://www.cnn.com</preferred_news>
<Name>Alaric Snell</Name>
<NationalLeader>George Bush</NationalLeader>
<Email>alaric@alaric-snell.com</Email>
<NumPosts>23</NumPosts>
<complaints-to>flames@microsoft.com</complaints-to>
<Web>http://www.alaric-snell.com</Web>
<LastMailedTo>president@whitehouse.gov</LastMailedTo></users>

Which is easier to understand and debug? 

What real advantages does the CSV format have in a world of 
ubiquitous XML parsers and compression tools?  Which is more 
robust if your marketing people decide to add a new optional 
field in the middle? 







 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS