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

Re: RE: Underwhelmed (WAS: XOM micro tutorial)


Re: RE:  Underwhelmed (WAS:  XOM micro tutorial)
9/21/2002 2:31:14 PM, Elliotte Rusty Harold <elharo@m...> wrote:

>The underlying problem seems to be that this approach mixes up the 
>view of XML as a tree of nodes and XML as a sequence of text. Either 
>view makes sense. Both views are useful for processing (though only 
>the text is normative). But using them both at the same time is 
>ultimately confusing.

Uhh, how many of Dare's customers do you think really want clean separation
between the "tree of nodes" and "sequence of text" views?  I can understand
the desire for implementers to choose one or the other, and can appreciate
the conceptual integrity of a "pure tree" view.  On the other hand, as
a user of this stuff I fequently latch onto 
  x.innerXML = "<example>Raw DOM is <b>too</b> tedious</example>";
when I can, and miss it when I can't.  And I see no particular
reason why the implementation should whine at me if I don't
give it a closing tag (I never thought to try!) since it's "obvious"
that's what's needed.  The whole point of convenience methods 
to make things convenient!

To be honest, the buildup for XML made me hope that you had found
some powerful synthesis of the "tree of nodes" and "strings of
text" views, built XPath deeply into the architecture, and come up with
something that was both elegant and easy to use.  You got the elegant
tree view pretty well, and I appreciate your courage in simply ignoring
the syntax sugar. Maybe the elegant XOM core with a well-thought-out 
convenience layer on top of it, probably including something 
very much like the MS innerXML stuff, and definitely including XPath, 
would pique the interest of the Underwhelmed.



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.