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

RE: DOM or SAX: Sense and Sensibility


RE:  DOM or SAX:  Sense and Sensibility
The next stage of this seems to be people who 
don't like or can't understand XSLT, so they 
use it in a SAX-like way and call script functions 
for everything else.

I'm curious about this subject because 
I keep seeing people who learn just the barebones, 
get to DOM, then use it for everything.  One 
of our folks, a smart lady, started doing 
some tests to check resources and memory usage 
and concluded that for her app, the DOM was of 
no value at all.  I asked her if she had looked 
at SAX and she didn't know what it was.  She was 
at least asking good questions.  What we are finding 
elsewhere is that they don't bother with that. 
They run to code and reinvent everything.  So, 
I am wondering if others are seeing the same 
behavior.  Is XML just that hard to learn, 
too obscure, too different, or is this just 
ossification brought on by years of copying 
code and not looking beneath? 

len


From: Al Snell [mailto:alaric@a...]

On Wed, 7 Nov 2001, Bullard, Claude L (Len) wrote:

> How often do you as experienced XML developers
> find people in your shop using DOM for work
> more appropriate to SAX?   Have you asked
> them why and what do they say?  What are the
> costs of picking the wrong API?

Even worse, one I've seen in processing pipelines is converting to textual
XML (as a big in-memory string) then passing it into the next stage to be
reparsed!

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.