binutils-gdb/gdb/features/sort-regs.xsl

12 lines
306 B
XML

<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>