[Home] [By Thread] [By Date] [Recent Entries]
Let me explain my problem
My XML format will look like this. <employee> <COLUMN NAME="SALARY">95000</COLUMN> <COLUMN NAME="NAME">ANIL</COLUMN> </employee> <employee> <COLUMN NAME="SALARY">92000</COLUMN> <COLUMN NAME="NAME">Kumar</COLUMN></employee> ..... I wanted to sort this based on SALARY. Approaches I tried 1) <xsl:for-each select="employee"> <xsl:sort select="COLUMN/SALARY" data-type="number"/> <xsl:for-each select="COLUMN"> <xsl:if test="@NAME='SALARY'"> <xsl:variable select="."></xsl:variable> </xsl:if> </xsl:for-each> with this I am not able to sort with the above code, sort is not happening.
Michael M|ller-Hillebrand wrote: Am 29.10.2009 um 09:00 schrieb Anil Kumar Veeramalli:
|

Cart



