_nodeTestSeq = new TestSeq(_nodeGroup, this);
_nodeTestSeq = new TestSeq(_nodeGroup, -1, this);
    private void prepareTestSequences() {	final Vector names = _stylesheet.getXSLTC().getNamesIndex();	_testSeq = new TestSeq[DOM.NTYPES + names.size()];		final int n = _patternGroups.length;	for (int i = 0; i < n; i++) {	    final Vector patterns = _patternGroups[i];	    if (patterns != null) {		final TestSeq testSeq = new TestSeq(patterns, this);		testSeq.reduce();		_testSeq[i] = testSeq;		testSeq.findTemplates(_neededTemplates);	    }	}	if ((_nodeGroup != null) && (_nodeGroup.size() > 0)) {	    _nodeTestSeq = new TestSeq(_nodeGroup, this);	    _nodeTestSeq.reduce();	    _nodeTestSeq.findTemplates(_neededTemplates);	}	if ((_idxGroup != null) && (_idxGroup.size() > 0)) {	    _idxTestSeq = new TestSeq(_idxGroup, this);	    _idxTestSeq.reduce();	    _idxTestSeq.findTemplates(_neededTemplates);	}		if (_rootPattern != null) {	    // doesn't matter what is 'put', only key matters	    _neededTemplates.put(_rootPattern.getTemplate(), this);	}    }