Document document = parser.parseDocument(input);
NodeList list = processor.selectNodeList(document,xpath);
DOMStreamer streamer = new DOMStreamer(super.contentHandler,super.lexicalHandler);
int length = list.getLength();
for (int i=0; i<length; i++) {
streamer.stream(list.item(i));
}
} else {
IncludeXMLConsumer xinclude_handler = new IncludeXMLConsumer(super.contentHandler,super.lexicalHandler);
parser.parse(input, xinclude_handler);
}