## 29.2 Parsing XML Documents (cont.)

- Use `DOMBuilder` object to read XML document from file:

  > `DOMImplementation* implementation
  > = DOMImplementation::getImplementation();
  > DOMBuilder* parser = implementation->createDOMBuilder(
  > DOMImplementation::MODE_SYNCHRONOUS, NULL);`

- 1st call retrieves the default object
  - A factory for classes for reading and writing documents
- 2nd call gets builder object from implementation object

prev |top |next