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

grouping + page break help

Subject: grouping + page break help
From: "Das, Sankha" <Sankha.Das@xxxxxxxxxxxxxxxxx>
Date: Tue, 07 Jun 2005 09:59:02 -0400
sankha das
Hi 
I got a page break problem that possibly involves some grouping. I'm getting the totals , subtotals and sorting done from sql query itself.

Now the problem boils down to the following :

** xml file **

<ResultSet>
    <row>
          <LOB_NM><Commercial</LOB_NM>
          <ID>13</ID>
    </row>
    <row>
          <LOB_NM><Commercial</LOB_NM>
          <ID>93</ID>
    </row>
    <row>
          <LOB_NM>CIB</LOB_NM>
          <ID>46</ID>
    </row>
    <row>
          <LOB_NM>CIB</LOB_NM>
          <ID>113</ID>
   </row>
 </ResultSet>

I'm looking to have a Page Break at the last occurrance of say (for example) <LOB_NM> = "CIB"  or <<LOB_NM> = "Commercial"  when iterating through a table. Got any reference or help-text in mind ? I am using fop, xsl:fo and xslt/xpath 1.0.

LOB_NM             ID

CIB                     46
CIB                   113
      --------------------  Page Break Here

Commercial        13
Commercial        93
    ---------------------  Page Break Here

Thanks
Sankha

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.