Hi guys, i have the following tree Node and i would like to make a sorting depending on the docType and the number of count view.
So the tree node looks like this
- FOLDER
-- Vids AB
--Vids 3(count 10)
--Vids 4(count 6)
-- Vids BC
-- Vids 2 (count 3)
-- Vids BC
-- Vids 1(count 12)
Only the child nodes will be displayed here thought. I did try this but its not reflecting the right descending output which shoulb be
Vids 1 (count 12)
Vids 3 (count 10)
Vids 4 (count 6)
Vids 2 (count 3)
<xsl:sort select="self::DocName| ViewCount:GetViews(number(@id))//@count" order="descending" data-type="number"/>
<xsl:sort select="self::TerraVideoLinks|@count" order="descending" data-type="number"/>
Both not working,
Any suggestion??