Author: nickboldt
Date: 2011-12-22 21:58:59 -0500 (Thu, 22 Dec 2011)
New Revision: 37548
Modified:
trunk/build/target-platform/contentXml2artifactVersions.xsl
Log:
add sorting to artifact versions properties file
Modified: trunk/build/target-platform/contentXml2artifactVersions.xsl
===================================================================
--- trunk/build/target-platform/contentXml2artifactVersions.xsl 2011-12-23 02:58:51 UTC
(rev 37547)
+++ trunk/build/target-platform/contentXml2artifactVersions.xsl 2011-12-23 02:58:59 UTC
(rev 37548)
@@ -8,7 +8,7 @@
<xsl:template match="repository">
<xsl:apply-templates select="//unit" />
</xsl:template>
-<xsl:template match="//unit"><xsl:value-of select="@id"
/>.version=<xsl:value-of select="@version" />
+<xsl:template match="//unit"><xsl:for-each
select="."><xsl:sort select="@version"
order="descending" case-order="lower-first"
data-type="qname"/><xsl:value-of select="@id"
/>.version=<xsl:value-of select="@version" />
#
-</xsl:template>
+</xsl:for-each></xsl:template>
</xsl:stylesheet>
Show replies by date