// Unless the handler told us to skip them, then iterate over any children
if (handleContents) {
if (handler != null && handler instanceof IteratingTagHandler) {
// recurse as many times as the tag wants
IteratingTagHandler iteratingHandler = (IteratingTagHandler) handler;
while (iteratingHandler.shouldRunAgain(session, out, parent, node)) {
NodeList list = node.getChildNodes();
for (int i = 0; i < list.getLength(); ++i) {
applyTagsHelper(session, out, node, list.item(i), tagHandlerCache);
}
}