Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Complex grouping based on date sort and sub elements date sort

From: jai <jaiganesh.kannan@-----.--->
To: NULL
Date: 7/13/2009 2:20:00 AM
Dear Martin,

Thanks for your reply. I am fine with XSLT 2.0 version.

Here is the expected output HTML:

<HTML>
   <BODY>
      <H1>Tapestry</H1>
           <P>2010</P>
               <P>2010-04-02</P>
           <P>2009</P>
               <P>2009-12-29</P>
               <P>2009-04-03</P>
           <P>2008</P>
               <P>2008-07-02</P>
      <H1>Retail</H1>
           <P>2009</P>
               <P>2009-12-30</P>
      <H1>Quotential</H1>
           <P>2009</P>
               <P>2009-11-30</P>
           <P>2008</P>
               <P>2008-07-29</P>
               <P>2008-07-02</P>
   </BODY>
</HTML>

Some points that i want to explain to you based on the above HTML:

1) Tapestry being the corresponding item for most recent date
"2010-04-02", placed as first element (header),
    Next max date corresponding to non Tapestry value is
"2009-12-30" , corresponding item is Retail - this comes second.
    Next max date corresponding to non Tapestry/Retail value is
"2009-11-30" , corresponding item is Quotential - this    comes third.

2) Below each Header (Tapestry or Quotential or Retail), dates come in
sorted format and above the dates come the year sub heading.

Please ask me for any bit of information or detail you want. I didnt
gave up my effort in finding solution, but still now I am unable to
acheive anything. Please guide me.

Thanks in advance!!

Jai



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent