المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : XMl Node Sorting Based on Length



C# Programming
04-14-2009, 11:51 AM
Hi all
I have one problem in C# that is related to XMl Sorting...That is Based On the text Length


Languuage:C#

Joe
Prabhakar
ABBBBBBBBCCCCCCCCCC



I want this XML as

<person>
<fname>ABBBBBBBBCCCCCCCCCC</fname>
<fname>Prabhakar</fname>
<fname>Joe;lt;/fname>
</person>


see the sorting is not based on Accending or decending order

it's based on the length of the text

Hope this question is Clear to you
Thanks

prabhakar dwivedi