|
This article makes two statements that seem like they're meant to be parallel...about SAX working on the "surface model" of the XML and DOM working on the "abstract model" of the XML.
This doesn't really work / make-sense to me, as a useful contrast. Do you mean "surface model" as opposed to say, being able to inspect the data type of an element or attribute as defined by the schema? If so, then isn't DOM working on a surface model also? And what is "abstract" model supposed to mean? As opposed to what? Isn't a model by definition abstract? The event model of SAX is just as abstract as the DOM tree model.
|