[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: SV: XML=WAP? And DOA?


RE: SV:  XML=WAP? And DOA?

Nicolas LEHUEN wrote
> I am sorry but obtaining information about relationships is 
> of little use if
> you don't have the corresponding semantics. It is useful for 
> lexical-level
> tools, granted, so that you can pretty-print the document, or check
> well-formedness, but that's all.


XML is designed to physically reflect data structure and provides a
standard, simple mechanism for including basic semantic information.  

With a csv file all I know is that there are fields with delimiters, some of
which may be descriptive tags. People don't always use commas for
delimiters, they do not always enclose strings in quotes, field names can
appear anywhere in the structure or not at all, one row does not always
equate to one record, multiline records are not always the same number of
lines (you can express a hierarchy with a csv file, it isn't always obvious
to the human eye, but it can be done). There is no guarrantee that physical
structure in any obvious way reflects logical structure.

Never mind what different people mean by "self describing", xml for all its
faults is a big step forwards to anyone who has to write generic, reusable
code that allows users to manipulate structured data from multiple sources.
Believe me, it goes way beyond pretty printing and checking well-formedness.
Agreed, without knowing what tags mean, my user can do very little, but at
least they don't have to get to grips with many weird and wonderful data
structures, and in the best cases they can look at a new message and just
work out what most of it means.

NB, the context I know best is b-to-b messaging, and believe you me, you do
get some really weird variations on "csv" - largely I think because people
so often try to squeeze complex logical structures into completely
inappropriate physical structures.

All the best

Mark

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.