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

Re: If XML is too hard for a programmer, perhaps he'd be better off as a

he d better off

"Uche Ogbuji" <uche.ogbuji@f...> wrote in message
> Tim's article just made me roll my eyes.  XML has made my life as a
> much easier, and i can't think of a developer whom I've mentored in using
> that doesn't have the same experience.  I suspect that Tim has completely
> misplaced the actual problem.
> BTW, I find the idea of processing XML using simple regexen pretty hair
> raising.  Holy impedance mismatch!  Holy error prone!  That's supposed to
> easier?  My mind boggles.

Feeling exactly the same way.

How can someone speak in the name of *all* programmers?

Let me say:

 XML is not hard at all for the majority of XSLT programmers -- as witnessed
e.g. on the xsl-list.

The reasons for this are not at all personal and subjective.

Certainly, processing an XML document as a single large string using regex
tricks has nothing to do with XML, therefore, the problem with any such
approach is not XML per se, but simply that this approach is deeply flawed.

To put things back into their right place:

 1. An XML document is a representation of a tree of nodes.
 2. There are powerful languages for processing such kind of tree-structured
data e.g. XSLT.

Surely, any attempt to regard a tree of nodes as a linear sequence of "start
tags" and "end tags" and to process it as such is an inherently masochistic


Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL


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.
First Name
Last Name
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.