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

Re: Re: If XML is too hard for a programmer, perhaps he'dbe be

Re:  Re: If XML is too hard for a programmer
Dimitre Novatchev wrote:

> To put things back into their right place:
>  1. An XML document is a representation of a tree of nodes.

I looked in the XML spec an couldn't find anything to back that 
claim. I had to go down to E (non-normative) to find the use of the 
word node. Any talk of trees has to do with syntax and element 
trees. You seem to be talking about an Infoset or a DOM, which is 
fine for some cases. XML 1.0 is more interested in start tags and 
end tags.

> 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
> experience.

I guess that makes SAX masochistic. It's hardly a tree of nodes 
until something rips through the start and tags and builds that tree 
of nodes. I guess that makes SAX masochistic.

And I don't understand this disdain for regular expressions over 
XML. Regexes are a perfectly useful tool for manipulating text.

Bill de hÓra


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.