View Single Post
  #1 (permalink)  
Old September 9th, 2017, 07:58 AM
bharathidasang bharathidasang is offline
Authorized User
Points: 115, Level: 2
Points: 115, Level: 2 Points: 115, Level: 2 Points: 115, Level: 2
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Nov 2016
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Smile sorting issues XSLT

Hi,

Please help me anyone, it is very urgent for me.

I have an elemnt <sec> this values are coming different format like below
Input:
<test>
<Para0 id="60-80" refid="[60-80]">
<strfact>Bills of Exchange </strfact>
<sec>s 10000A</sec>
</Para0>
<Para0 id="60-105" refid="[60-105]">
<strfact>Bills of Exchange </strfact>
<sec>s 8B</sec>
</Para0>
<Para0 id="60-80" refid="[60-80]">
<strfact>Bills of Exchange </strfact>
<sec>s 8(2)</sec>
</Para0>
<Para0 id="60-80" refid="[60-80]">
<strfact>Bills of Exchange Act 1909</strfact>
<sec>s 8</sec>
</Para0>
<Para0 id="60-105" refid="[60-105]">
<strfact>Bills of Exchange </strfact>
<sec>s 8(1)</sec>
</Para0>
</test>

But I need to sort the value based <sec> for below:

<para0>
<sec>s 8</sec>
<sec>s 8B</sec>
<sec>s 8(1)</sec>
<sec>s 8(2)</sec>
</para0>

Thanks in advance,
Bharathi
Reply With Quote