|
|
Resource Guide -> XML and PHP Tutorials, SAX vs. DOM -> DOM XML: An Alternative to Expat
DOM XML: An Alternative to Expat
Date: Jan. 15, 2001 Although the DOM model can be somewhat memory intensive, the way it loads an entire xml document into memory as a hierarchy and makes the data available to the programmer as a tree structure can be more intuitive, and affords better readability. The tutorial covers how the DOM structures XML and how objects are used. The piece also explains many properties and methods, as well as how to configure PHP to use DOM functions (not a part of the standard configuration) by specifying the '--with-dom' argument. |
|
|
|
|
|
|