Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stephen 94 posts 255 karma points
    May 05, 2014 @ 15:20
    Stephen
    0

    Sortorder on multiple pages for XLST formatted emails/files etc

    Hi All,

    Took me a while to figure out and find the solution to this one, so I thought I would post it.

    Sortorder works fine on a single page, but when you have multiple pages in your form you need to do this:

    <xsl:for-each select="$records//fields/child::*"> 

          <xsl:sort select="@pageindex" data-type="number" order="ascending" />

          <xsl:sort select="@fieldsetindex" data-type="number" order="ascending" />

          <xsl:sort select="@sortorder" data-type="number" order="ascending" />

    .....

Please Sign in or register to post replies

Write your reply to:

Draft