Skip to content

Instantly share code, notes, and snippets.

@greystate
Created April 4, 2011 17:11
Show Gist options
  • Select an option

  • Save greystate/901993 to your computer and use it in GitHub Desktop.

Select an option

Save greystate/901993 to your computer and use it in GitHub Desktop.
<xsl:variable name="xml">
<nodes>
<xsl:for-each select="$currentPage/../*[@isDoc]">
<xsl:sort select="contentDate" data-type="text" order="descending" />
<node header="{contentHeader}">
<xsl:value-of select="@id" />
</node>
</xsl:for-each>
</nodes>
</xsl:variable>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment