boolean skipBinary,
ContentHandler contentHandler)
throws RepositoryException {
startNode = node;
session = node.getSession();
nsResolver = new SessionNamespaceResolver(session);
this.contentHandler = contentHandler;
this.skipBinary = skipBinary;
this.noRecurse = noRecurse;
// start with an empty set of known prefixes