How do we get a specific node after iterating through the child nodes?
Iteration for all the child nodes is don and I'm trying to get a specific node name and return the property value of that node.
while (children.hasNext()) {
Page node = children.next();
Iterator<Page> child2 = node.listChildren(new PageFilter(request));
Page node2 = children2.next();
while (children2.hasNext()) {
Page node2 = child2.next();
---?
I need only one node from the child of first node of first level
A
a
b
c
B
d
e
f
C
g
h
i
I want to print only b from A and the rest should remain as it is. I'm trying the back end logic because the hideInNav page property hides all the navgation of that page and I want it to be hidden only from footer and not anywhere else.
A B C
b d g
e h
f i
f



