[Home] [By Thread] [By Date] [Recent Entries]


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

>"Name","Email","Web"
>"Alaric Snell","alaric@a...","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@a...",23,"flames@m...", 
"http://www.alaric-snell.com", "president@w..."

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@a...</Email>
<NumPosts>23</NumPosts>
<complaints-to>flames@m...</complaints-to>
<Web>http://www.alaric-snell.com</Web>
<LastMailedTo>president@w...</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? 




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member