Show TOC

Background documentationifNextRecursionDepthWillNotChange Locate this document in the navigation structure

 

Includes its body if the next node in a recursive iteration is a sibling of the current node.

Cooperating Tags

The tag must be nested in the following tag:

recurseNavNodeChildren.

Example

The following displays a sitemap of all navigation nodes using nested unordered lists for markup. Here, the ifNextRecursionDepthWillNotChange tag only closes the <li> tag belonging to the current node, since the next recursion pass continues with a sibling.

Syntax Syntax

  1. <ul>
    <nav:iterateInitialNavNodes>
        <nav:recurseNavNodeChildren>
        <li>        
            <nav:navNodeAnchor navigationMethod="byURL"/>
    
            <nav:ifNextRecursionDepthWillNotChange>
                </li>
            </nav:ifNextRecursionDepthWillNotChange>
    
            <nav:ifNextRecursionDepthWillIncrease>
                <ul>
            </nav:ifNextRecursionDepthWillIncrease>
    
            <nav:ifNextRecursionDepthWillDecrease>
                </li>
                <nav:decreaseRecursionDepthLoop>
                    </ul></li>
                </nav:decreaseRecursionDepthLoop>
            </nav:ifNextRecursionDepthWillDecrease>
        </nav:recurseNavNodeChildren>
    </nav:iterateInitialNavNodes>
    </ul>
    
End of the code.