p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   XSLT (http://p2p.wrox.com/xslt-86/)
-   -   sorting issues XSLT (http://p2p.wrox.com/xslt/99614-sorting-issues-xslt.html)

bharathidasang September 9th, 2017 08:58 AM

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

mhkay September 9th, 2017 03:23 PM

What have you tried, how did it fail, where did you get stuck reading the documentation (or reading your Wrox reference book)?

There are lots of people happy to help you when you get stuck, but not to provide a free code-writing service.

And telling us it's urgent doesn't help. When you're asking volunteers to help, don't create a pressure.


All times are GMT -4. The time now is 07:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.