SHOW:
|
|
- or go back to the newest paste.
| 1 | <?xml version="1.0"?> | |
| 2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| 3 | ||
| 4 | <xsl:template match="/BODY"> | |
| 5 | - | <BODY> |
| 5 | + | <xsl:copy> |
| 6 | <xsl:for-each select="LEVEL"> | |
| 7 | <xsl:sort select="avgTime" data-type="number" /> | |
| 8 | - | <xsl:value-of select="avgTime"/>| |
| 8 | + | <xsl:copy> |
| 9 | <xsl:apply-templates/> | |
| 10 | - | </BODY> |
| 10 | + | </xsl:copy> |
| 11 | </xsl:for-each> | |
| 12 | </xsl:copy> | |
| 13 | </xsl:template> | |
| 14 | ||
| 15 | <xsl:template match="*"> | |
| 16 | <xsl:copy><xsl:value-of select="."/></xsl:copy> | |
| 17 | </xsl:template> | |
| 18 | ||
| 19 | </xsl:stylesheet> |