[Home] [By Thread] [By Date] [Recent Entries]


Burak Emir wrote:


> Aha, event-based and in which order are the events called?


In most cases (not all) beginning to end, start-to-finish, where start 
and end are defined by the first and last characters of the XML 
document. The tree-nature is *not* exposed. Indeed people have done some 
weird things with SAX, that do not properly map startElement to 
endElement. I don't much like that, because I like to assume that 
everything is indeed properly nested, but not everyone agrees with me, 
and people can and do use SAX in ways that actively contradict any 
tree-view, not merely that ignore it.

-- 
Elliotte Rusty Harold  elharo@m...
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member