[xsl] xsl:sort on fn:collection() ?

Subject: [xsl] xsl:sort on fn:collection() ?
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Fri, 21 Mar 2008 10:04:14 -0400
Hi,

Is it possible to sort a collection based on filename?

For example:

<xsl:apply-templates select="collection($model-path)" mode="model">
  <xsl:sort/>
</xsl:apply-templates>

By default, it does not seem to apply in file system order. If I use
xsl:sort, what would I sort on?

thanks,
-Rob

Current Thread