.. / download
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>

  <xsl:template match="defaults|dmtypes|fmtypes">
    <xsl:copy>
      <xsl:apply-templates select="default|type|fm">
        <xsl:sort select="@ident|@infoCode"/>
      </xsl:apply-templates>
      <xsl:apply-templates select="comment()"/>
    </xsl:copy>
  </xsl:template>

</xsl:stylesheet>


gopher://khzae.net/0/s1000d/s1kd-tools/src/tools/s1kd-defaults/xsl/sort.xsl
Styles: Light Dark Classic