That was the exact problem I sent myself down the wrong path try to deal
with the entry element. It is a bit repetitive, but that's for another
day.
thanks.
I believe the problem was that you were off by one level when doing
your sorts. Here is a cut down version of the XSL...
<!-- Sorted primary elements -->
<xsl:for-each select="/indices/index/entry/primary">
<xsl:sort data-type="text" select="@name"/>
<block><xsl:value-of select="@name"/></block>
<!-- Sorted secondary elements -->
<xsl:for-each select="secondary">
<xsl:sort data-type="text" select="@name"/>
<block><xsl:value-of select="@name"/></block>
<!-- Sorted tertiary elements -->
<xsl:for-each select="tertiary">
<xsl:sort data-type="text" select="@name"/>
<block><xsl:value-of select="@name"/></block>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
This is repetitive, and could probably be replaced with something
recursive...
Does this solve your problem?
Josh
Frederick Wells
Capps Digital
35 W Wacker
30th Fl.
Chicago, IL
312.220.3056
www.cappsdigital.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list