[xep-support] Using markers to retrieve multiple page items
Jerry Janofsky
JanofskyJ at comcast.net
Mon Sep 25 08:26:34 PDT 2006
Hi,
I am trying to use markers to retrieve multiple items that may exist on a
single page. The idea is similar to a phone book, where the phone book has
the name of the first and last entry on the page displayed in the header.
The difference is that I want my header to display not just the first and
last entry, but all unique entries. For example, given the flow section
shown below, I would want my header to contain "Entry 1, Entry 2, Entry 3".
Notice there are two "Entry 2s" but it is only displayed once. It is clear
that I can retrieve the first and last such as "Entry 1, Entry 3", using
something like:
<fo:static-content .>
<fo:block >
<fo:retrieve-marker retrieve-class-name="Entries"
retrieve-boundry="page"/>-
<fo:retrieve-marker retrieve-class-name=" Entries "
retrieve-position="last-ending-within-page" retrieve-boundry="page"/>
</fo:block>
</fo:static-content>
Is it possible for me to get all of them?
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:marker marker-class-name="Entries">
<fo:block>Entry 1</fo:block>
</fo:marker>
</fo:block>
<fo:block>
<fo:marker marker-class-name="Entries">
<fo:block>Entry 2</fo:block>
</fo:marker>
</fo:block>
<fo:block>
<fo:marker marker-class-name="Entries">
<fo:block>Entry 2</fo:block>
</fo:marker>
</fo:block>
<fo:block>
<fo:marker marker-class-name="Entries">
<fo:block>Entry 3</fo:block>
</fo:marker>
</fo:block>
</fo:flow>
Jerry Janofsky
Ames on Demand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060925/aa599ba1/attachment.html>
More information about the Xep-support
mailing list