/** dump a DOM document, using an IncludeXMLConsumer to filter out start/end document events */
private void executeDOM(final XMLConsumer consumer, MyJexlContext jexlContext, JXPathContext jxpathContext, Node node)
throws SAXException {
IncludeXMLConsumer includer = new IncludeXMLConsumer(consumer);
DOMStreamer streamer = new DOMStreamer(includer);
streamer.stream(node);
}
private void call(Locator location, StartElement macroCall, final XMLConsumer consumer, MyJexlContext jexlContext,
JXPathContext jxpathContext, Event startEvent, Event endEvent) throws SAXException {
try {