P
Pravljica
Hello,
Now I have this:
<xsl:for-each select="A">
<xsl:sort select="B" />
</xsl:for-each>
Now I would like to get first node from this sorted list (which has the
smallest value). But if I write:
<xsl:value-of select="A[1]/B" />, I get first node from unordered list
(the first node in xml).
How can I get the first node from this sort?
Thanks
Now I have this:
<xsl:for-each select="A">
<xsl:sort select="B" />
</xsl:for-each>
Now I would like to get first node from this sorted list (which has the
smallest value). But if I write:
<xsl:value-of select="A[1]/B" />, I get first node from unordered list
(the first node in xml).
How can I get the first node from this sort?
Thanks