[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: position behavior in nested grouping

Subject: Re: position behavior in nested grouping
From: Ganesh Babu N <nbabuganesh@xxxxxxxxx>
Date: Thu, 30 Jul 2009 18:24:48 +0530
Re:  position behavior in nested grouping
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.Honnen@xxxxxx> 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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.