[Home] [By Thread] [By Date] [Recent Entries]
On 15.07.2016 21:39, dvint dvint@xxxxxxxxx wrote:
I need a formated and sorted string Yes, I understand, but the result of distinct-values() can be sorted directly with e.g
or if you want a variable with e.g. <xsl:variable name="TermList" select="distinct-values(.//term[not(@keyref)])" /> <data type="topicreport" name="WDTermList">
<xsl:for-each select="$TermList">
<xsl:sort select="." />
<xsl:value-of select="."/>
<xsl:if test="position() != last()">, </xsl:if>
</xsl:for-each>
</data>Or directly with perform-sort.
|

Cart



