Posted on 14/04/2010 11:35:50
Hi,
Some while ago (at least) Dw did not output the xml when adding savexml=true to the URL in eCom menus, so I did some digging and used this:
<xsl:template match="Group">
<xsl:param name="depth"/>
<xsl:apply-templates select="@*"/><br/>
<xsl:if test="count(Group)">
<xsl:apply-templates select="Group">
<xsl:with-param name="depth" select="$depth+1"/>
</xsl:apply-templates>
</xsl:if>
</xsl:template>
<xsl:template match="@*">
<xsl:value-of select="name()"/>=<xsl:value-of select="."/><br/>
</xsl:template>
This template will give you all the attributes in all the nodes and subnodes in the group menus.
//nuno