aspdotnetuser
Programmer
Hi,
I'm new to using xml and xslt. I'm trying to use xsl:sort to display the @periodname_1 attribute in ascending order but it doesn't work. Can anyone see why?
[red]<xsl:sort select="@periodname_1" order="ascending"/>[/red]
[blue]<td colspan="2">
<xsl:value-of select="@periodname_1"></xsl:value-of>
</td>
</xsl:for-each>[/blue]
I'm new to using xml and xslt. I'm trying to use xsl:sort to display the @periodname_1 attribute in ascending order but it doesn't work. Can anyone see why?
[red]<xsl:sort select="@periodname_1" order="ascending"/>[/red]
[blue]<td colspan="2">
<xsl:value-of select="@periodname_1"></xsl:value-of>
</td>
</xsl:for-each>[/blue]