else if (parent instanceof WGContent) {
entries = ((WGContent) parent).getStructEntry().getChildEntries();
}
Iterator entriesIt = entries.iterator();
WGContent foundContent = null;
while (entriesIt.hasNext()) {
WGStructEntry entry = (WGStructEntry) entriesIt.next();
WGContent content = chooser.selectContentForPage(entry, false);
if (content != null) {
if (title.matches(content)) {
foundContent = content;
break;
}