// build map for the entire template, cache at the original root node
}
@Override
public Iterator<?> getAncestorAxisIterator(Object node) throws UnsupportedAxisException {
throw new UnsupportedAxisException("ancestor"); // TODO: support (certain) backward axes?
}