[xep-support] Using markers to retrieve multiple page items

From: Jerry Janofsky <JanofskyJ@comcast.net>
Date: Mon Sep 25 2006 - 08:26:34 PDT

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

 

-------------------
(*) 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/terms-of-service.html
Received on Mon Sep 25 08:45:41 2006

This archive was generated by hypermail 2.1.8 : Mon Sep 25 2006 - 08:45:45 PDT