W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2008

Re: Change value of Variable

From: Tony Graham <Tony.Graham@MenteithConsulting.com>
Date: Fri, 24 Oct 2008 10:48:02 +0100
To: www-xsl-fo@w3.org
Message-ID: <87zlkuqq7h.fsf@menteith.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 24 October 2008 09:51:31 GMT