Visits a DOM-ish API and generates SAX events.
Visits a W3C DOM tree and generates SAX2 events from it.