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

Re: XML-aware programming language?


is xml a programming language
Elliotte Harold wrote:

> There are many different possible tree models for XML. The deeper you 
> look the more differences you find between DOM, the XML Infoset, XPath 
> 1.0, XPath 2.0, and other tree-based data models. But it doesn't stop 
> there. There are non-tree-based models of XML documents, and these may 
> also be profitably used in the right circumstances. XML is defined 
> such that it is possible to represent a well-formed document as a 
> tree. It is by no means necessary to do so.
>
Well, the thread is on XML-aware programming languages, and every such 
thing needs to define a data model.

No language designer can seriously claim that his language is the right 
one for all circumstances.

But, to process XML in a program, you can never do without the tree view.

> SAX exposes probably the most popular non-tree model, but it's hardly 
> the only one. Indeed there are non-event, non-tree models as well. Some 

Aha, event-based and in which order are the events called?

> people have shredded XML documents into relational tables. That works 
> too. None of these models are more correct than any of the others. 
> It's simply a question of which is most useful for the problem at hand 
> given the available tools.

But tools bring you only this far, and a programming language is 
providing more coherence than using a set of ill-matching tools. At 
least that is the assumption under which to design an XML aware 
programming language, and I find it valid.

regards,
Burak Emir

http://lamp.epfl.ch/~buraq


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.