<xsl:value-of select="local-name($currentPage)" />
<xsl:value-of select="$currentPage/@nodeTypeAlias" />
<xsl:for-each select="$currentPage/subPage">
<xsl:for-each select="$currentPage/*"> <xsl:if test="self::subPage">.......</xsl:if> </xsl:for-each>
<xsl:for-each select="$currentPage/*"> <xsl:if test="local-name() = $subPageName">.......</xsl:if> </xsl:for-each>
<xsl:for-each select="$currentPage/node [@nodeTypeAlias = 'subPage']">
/*
@isDoc
<xsl:for-each select="$currentPage/* [@isDoc]"> </xsl:for-each>
<xsl:for-each select="$currentPage/node"> </xsl:for-each>
<xsl:for-each select="$currentPage/NewsItem"> </xsl:for-each>
<xsl:for-each select="$currentPage/NewsItem [@isDoc]"> </xsl:for-each>
<xsl:for-each select="$currentPage/node [@nodeTypeAlias='NewsItem']"> </xsl:for-each>
<xsl:for-each select="$currentPage/*[not(self::NewsItem)]"> </xsl:for-each>
<xsl:for-each select="$currentPage/node [@nodeTypeAlias!='NewsItem']"> </xsl:for-each>
<xsl:param name="Source" select="$currentPage/mySource" /> <xsl:for-each select="umbraco.library:GetXmlNodeById($Source)/DocType"> </xsl:for-each>
<xsl:param name="Source" select="umbraco.library:GetXmlNodeById($currentPage/data [@alias='mySource'])" /> <xsl:for-each select="$Source/node"></xsl:for-each>
<xsl:for-each select="$currentPage/ancestor-or-self::Home//MyDocumentType [@isDoc]"> </xsl:for-each>
<xsl:for-each select="$currentPage/ancestor-or-self::node [@nodeTypeAlias='Home']//node [@nodeTypeAlias='MyDocumentType']"> </xsl:for-each>
<xsl:value-of select="$currentPage/* [name() = $myMacroParameter and not(@isDoc)]" />
<xsl:value-of select="$currentPage/data [@alias=$myMacroParameter]" />