Re: [xep-support] How to count elements on a page

From: G. Ken Holman (gkholman@CraneSoftwrights.com)
Date: Fri Nov 29 2002 - 11:27:33 PST


At 2002-11-29 10:56 -0800, Mete Kural wrote:
>In our print project, I need to have a footnote for
>every page that shows the count of a certain number of
>elements on that page only. And I need to do this with
>XEP.

Such a function isn't available in the XSL-FO 1.0 definition ... arithmetic
on and assessment of the contents of a page are not available ... all you
can do is extract markers that show up on a page, and even that is
limited. You can extract the dictionary heads, but you cannot count the
entries.

>For every page, there will be a
>footnote telling the count of dictionary entries on
>the page. How do I count the number of certain
>elements

It would have to be some kind of extension.

I hope this helps.

.................... Ken

--
Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO:
-                             North America:  Feb 3 - Feb 7,2003
G. Ken Holman               mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next conference training:                    2002-12-08,03-03,06
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:29 PST