From: G. Ken Holman (gkholman@CraneSoftwrights.com)
Date: Thu Jan 22 2004 - 04:58:30 PST
At 2004-01-22 17:51 +1100, Ben Reid wrote:
>Would I be right in saying that you cannot use <fo:markers> and
Correct, though you can use markers to store the results of calculations
made at transformation time to be retrieved at rendering time.
>That is if I define a value using a marker, it cannot be accessed through
>in an <xsl:value-of select=""/>.
Correct, it cannot. <xsl:value-of/> is an expression in XSLT and the
*result* of XSLT is passed on to an XSL-FO engine for rendering without any
My first comment is that you can repetitively calculate intermediate totals
from a stream of data, seeding the result in a marker at each stage with
the intermediate total at that stage, and then when the FO engine lays out
a page it can retrieve into static content the first or the last of the
markers from the page to allow you to render that particular intermediate
result (of the very many that you calculate) on the page in which the
Note that XSL-FO *does* have an expression language, but only for property
values and not for displayed values. If you have a complex property value
calculation you can simplify your work by producing an expression in the
property that gets calculated by the FO engine, rather than making
contortions in your XSLT to figure that value out.
I hope this helps.
-- Public courses: sign up for one or both soon to reserve your seat! Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong, China: 2004-05-17 Bremen, Germany: 2004-05-24 World-wide on-site corporate, government & user group XML training 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) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to firstname.lastname@example.org 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 : Thu Jan 22 2004 - 05:07:17 PST