|
[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








