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

From: Jerry Janofsky <JanofskyJ@comcast.net>
Date: Tue Sep 26 2006 - 05:56:43 PDT

That sounds like it would work. I may have to go that direction. I
understand the delimiter problem too. There is no way to get around that?

Thanks for the input Ken.

Jerry Janofsky

-----Original Message-----
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
On Behalf Of G. Ken Holman
Sent: Monday, September 25, 2006 1:30 PM
To: xep-support@renderx.com
Subject: Re: [xep-support] Using markers to retrieve multiple page items

At 2006-09-25 11:26 -0400, Jerry Janofsky wrote:
>I am trying to use markers to retrieve multiple
>items that may exist on a single page.

You would have to retrieve each and every one, but this may work in your
case.

>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.

If you created a unique marker class for each and
every entry's unique value, and then retrieved
all marker classes into your static content using
retrieve-position="first-starting-within-page"
and retrieve-boundary="page", the ones that are
not on that page will not be retrieved but all
that are on the page will, and if you have more
than one of the same class, only one will be retrieved for that class.

It sounds excessive, but using XSLT you will know
all of the entries in your page sequence, so you
can synthesize the concatenated retrieval of all
entries ... and you will only get the ones that
are on the page. You will have to add spacing to
your marker definition ... which means you won't
be able to get a comma-separated presentation
(since the last entry would also be followed by a
comma), but I can't quickly think of any other
approach that would give you anything
close. This is because the formatter is the only
part of the process that knows what shows up on
each page, not your transformation process.

I hope this helps.

. . . . . . . . Ken

--
UBL/XML/XSLT/XSL-FO training: Vårø, Denmark 2006-10-02/06,11-20/24
UBL International 2006  2006-11-13/17 http://www.ublconference.com
World-wide corporate, govt. & user group UBL, XSL, & 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 Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
-------------------
(*) 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
-------------------
(*) 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 Tue Sep 26 06:04:36 2006

This archive was generated by hypermail 2.1.8 : Tue Sep 26 2006 - 06:04:37 PDT