我在尝试为 DotNetNuke DDRMenu 获取以下 XSLT 模板以针对以下条件吐出面包屑的最后一页/节点时遇到问题:
- 最后一页在其页面设置中不是“菜单中包含(d)”
- 但是最后一页是父节点的子节点(确实显示在我的输出中)
如何从以下 XSL 模板中获取未包含在菜单中的页面以在我的面包屑末尾输出?:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <xsl:param name="separator"></xsl:param>
    <xsl:template match="/*">
        <xsl:apply-templates select="root" />
    </xsl:template>
    <xsl:template match="root">
        <ul>
            <xsl:apply-templates select="//node[@breadcrumb=1]" />
        </ul>
    </xsl:template>
    <xsl:template match="node">
        <li>
            <xsl:choose>
                <xsl:when test="@enabled = 1">
                    <a href="{@url}" title="{@title}">
                        <xsl:value-of select="@text" />
                    </a>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="@text" />
                </xsl:otherwise>
            </xsl:choose>
        </li>
    </xsl:template>
</xsl:stylesheet>