Show TOC

ifNextRecursionDepthWillIncreaseLocate this document in the navigation structure

Use

Includes its body if the next node in a recursive iteration is a child 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 ifNextRecursionDepthWillIncrease tag opens a new <ul> tag, since the next recursion pass continues on a deeper level.

            <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>