summaryrefslogtreecommitdiff
path: root/gdb/features/sort-regs.xsl
blob: 5a99ec85dd1d2651d5606c034e2caf86573927b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
<xsl:stylesheet version="1.0"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <target>
      <xsl:for-each select="//reg">
	<xsl:sort select="@regnum" data-type="number"/>
	<xsl:copy-of select="."/>
      </xsl:for-each>
    </target>
  </xsl:template>
</xsl:stylesheet>