xsl-list
[Top] [All Lists]

Re: [xsl] position behavior in nested grouping

2009-07-30 08:57:50
all those should be clubbed into single section by taking group-adjcent.

The output should be

                       <sections>
                              <section-title>Contents</section-title>
                          <section>
                               <section-head>Abstracts of the Series
of Fascia Congress - Part
4</section-head>
                               <para>
                                       <page>270</page>
                               </para>
                          </section>
                         <section>
                            <section-head/>
                              <para>
                                       <page>271</page>
                               </para>
                               <para>
                                       <page>271</page>
                               </para>
                          </section>
                          <section>
                               <section-head>Abstracts of the Series
of Fascia Congress - Part
4</section-head>
                               <para>
                                       <page>272</page>
                               </para>
                       </section>
                       <section>
                               <section-head>Prevention &amp;
Rehabilitation</section-head>
                               <section-subhead>Editorial</section-subhead>
                               <para>
                                       <page>273</page>
                               </para>
                               <para>
                                       <page>277</page>
                               </para>
                       </section>
                       <section>
                               <section-subhead>Learning
Methodology</section-subhead>
                               <para>
                                       <page>284</page>
                               </para>
                       </section>
               </sections>

Regards,
Ganesh


On Thu, Jul 30, 2009 at 6:16 PM, Martin 
Honnen<Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:
Ganesh Babu N wrote:

New Input:

<articles>
    <row>
       <col>627</col>
       <col>Abstracts of the Series of Fascia Congress - Part 4</col>
       <col>270</col>
    </row>
    <row>
       <col>661</col>
       <col/>
       <col>270</col>
    </row>
    <row>
       <col>676</col>
       <col/>
       <col>271</col>
    </row>
    <row>
       <col>719</col>
       <col>Abstracts of the Series of Fascia Congress - Part 4</col>
       <col>272</col>
    </row>
    <row>
       <col>706</col>
       <col>Prevention &amp; Rehabilitation|Editorial</col>
       <col>276</col>
    </row>
    <row>
       <col>690</col>
       <col>Prevention &amp; Rehabilitation|Editorial</col>
       <col>283</col>
    </row>
    <row>
       <col>721</col>
       <col>Prevention &amp; Rehabilitation|Learning Methodology</col>
       <col>291</col>
    </row>
 </articles>

I am unable to provide two values in group-by attribute. Please
suggest how to achieve this.

Can you show and explain the output you want to achieve for that input
above? What should happen with 'row' elements where col[2] is empty?

--

       Martin Honnen
       http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--