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

Re: What is XML For?


data tuple
Alaric B. Snell wrote:
>...

> 
> Because XML has a fragile data model, designed for publishing stuff to a 
> browser rather than transfer between applications? 

XML is based on SGML which was invented long before browsers as we know 
them.

> ... In HTML you just ignored 
> unknown tags, which was fine because the text inside would still be rendered 
> just maybe without the desired styling. With XML they made everything more 
> fragile, it had to conform to a DTD, but your document supplier could 
> suddenly start supplying documents with a different DTD and as long as they 
> XSLT pointed at by <?xml-stylesheet?> was also changed to work with the new 
> DTD it'd still work OK. It's aimed more at displaying data to people than for 
> interchange of information between bits of software... I'm still trying to 
> find out where the 'XML data' idea first arose.

It arises naturally from the observation that structured data (tuple 
structured, hieararchically structured, graph structured, recursive) is 
a subset of the kinds of data you will find in the documents XML was 
designed to handle. A telephone book is tuple-structured. An airplane 
manual is mostly hierarchically structured but with frequent escapes to 
graph structure. There is no boundary between data and documents but of 
course there may be a point on the spectrum where XML produces small 
benefit (e.g. if CSV is all you need). At that point you might use XML 
merely to leverage the existence of XML-aware tools. If you don't need 
them then you probably don't need XML.

  Paul Prescod


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.