Re: Change value of Variable

On Mon, Oct 20 2008 09:29:06 +0100, liam@w3.org wrote:
> On Mon, Oct 20, 2008 at 11:22:28AM +0500, Saqi wrote:
>> if my data overflows from one page to 2nd and then to 3rd and so on, in this
>> case i want to show the count,how many records on one page occured, at the
>> end of each page.how can i do this?
>
> We added some extra table-marker support in FO 1.1, e.g. so that you can
> show a subtotal of values on a page; you could probably use this
> mechanism, depending on whether your formatter supports FO 1.1.
> E.g. give each record a value of "1" but show only the total of
> those values on each page.
>
> Maybe someone else on this list can tell me if this might work ;-)

It appears similar to the example in the spec at
http://www.w3.org/TR/xsl11/#d0e14681 so it should work if the records
can be formatted in a table.

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

Received on Friday, 24 October 2008 09:51:30 UTC