Allen Pollard wrote:
> why in most cases ? after all its just transfer of data from one app to 
> another.

For transfer between apps where no human has to ever read it, the attribute 
style is 
fine.

For saving to a file, where a human may want to read/edit, then the nested tag 
style 
is more readable.

In either case, you could have a flag to write the xml in either style, so for 
debugging your app you could use the more verbose style, and for production the 
more 
terse style.

I bet compression on the xml would bring the size difference into the 
meaningless range.

When given a choice, and all else being equal, I'll choose readability over 
terseness 
every time.

Paul



_______________________________________________
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.

Reply via email to