March 2002
Intermediate to advanced
528 pages
21h 29m
English
DOM XML
The DOM XML library uses GNOME’s libxml to create DOM-compliant object trees from XML files (and the reverse). DOM XML parsers differ from event-based parsers in that you point them at a file, and they give you a tree of various nodes. See Chapter 11 for a detailed discussion of using XML in PHP.
To enable the DOM XML extension, you must install GNOME libxml,
Version 2.2.7 or later, and compile PHP with the
--with-dom[
=DIR
]
directive.