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

RE: constructive (was RE: Markup perspective not co


RE:  constructive (was RE:  Markup perspective not  co
HI Uche,

Uche said:
This is an important point.  I was a huge enthusiast of DOM at the
beginning.  
I thought they got it exactly right using IDL for language-agnostic 
specification.  But at that time my Zen of XML was pretty thin.  As I've

understood more deeply how XML is more than yet another data format for 
programmers to use, I've realized that the XML should inform the
programming 
idiom, not the other way around.  Given that I use Python for XML
processing, 
and that Python is, regardless of any other value, a language rich in 
programming idioms, I realized that there were many very rich ways to
process 
XML, and that DOM acted as something of a jail cell restricting me to
one 
approach.

Didier replies:
I also have been trapped in the DOM prison whishing to get more
appropriate and cost efficient ways to process XML documents. And I
totally agree that Python is a rich language that would allows to
include useful and productive constructs to process XML documents at a
level beyond the simple syntaxic level. Something more at the problem
solution level. When we read Python programs we should have a good clue
of the type of problems we try to resolve. I think that what has been
forgot is that high level programming languages are for human beings and
therefore readability and efficiency to give info about the resolved
problem are important factors. If that wasn't the case, machine language
would be sufficient (even assembler is an attempt to make it easier for
human beings).

Most of the time, the DOM is simply noise and not relevant to the
resolved problem. However, I can say that the DOM was a first step but
it should not the last. I represents an early stage attempt to resolve
the interface problem between the processing of XML document and the XML
documents. But like I said, it is only a first and immature attempt.
There is better to be done.

Cheers
Didier PH Martin




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.