Re: [xep-support] Retrieve Markers Issue

From: Nikolai Grigoriev (grig@renderx.com)
Date: Tue Aug 03 2004 - 07:34:34 PDT

  • Next message: Michael Smith: "Re: [xep-support] XSL expressions"

    Chris,

    1) There is indeed a limitation in XEP: markers won't work
    across page sequences. (Technically, this is due to the
    necessity to ensure inheritance of properties in the
    backward direction). Our documentation lacks indication
    of this; we will fix it in the next maintenance release.
    Thank you for the feedback.

    1) Your example won't work anyway :-). Even with
    retrieve-boundary="document", only markers from
    preceding pages are eligible for selection into the
    retrieve-marker.

    Best regards,
    Nikolai Grigoriev
    RenderX

    ----- Original Message -----
    From: "Chris Bowditch" <bowditch_chris@hotmail.com>
    To: <xep-support@renderx.com>
    Sent: Monday, August 02, 2004 7:43 PM
    Subject: [xep-support] Retrieve Markers Issue

    Hi all,

    I have noticed in XEP 3.8, that it is not possible to retrieve markers across
    page-sequences, regardless of the retrieve-boundary setting. Here is a small
    FO sample that demonstrates this problem:

    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
    <fo:simple-page-master master-name="toc" page-height="297mm"
    page-width="210mm" margin="5mm">
    <fo:region-body margin-top="100mm"/>
    <fo:region-before region-name="toc" extent="100mm"/>
    </fo:simple-page-master>
    <fo:simple-page-master master-name="main" page-height="297mm"
    page-width="210mm" margin="5mm">
    <fo:region-body/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="toc">
    <fo:static-content flow-name="toc">
    <fo:retrieve-marker retrieve-class-name="entry1"
    retrieve-boundary="document" retrieve-position="first-starting-within-page"/>
    <fo:retrieve-marker retrieve-class-name="entry2"
    retrieve-boundary="document" retrieve-position="first-starting-within-page"/>
    </fo:static-content>
    <fo:flow flow-name="xsl-region-body">
    <fo:block>This is the first page sequence</fo:block>
    <fo:block>
    <fo:marker marker-class-name="entry1"><fo:block>Chapter 1</fo:block></fo:marker>
    </fo:block>
    <fo:block id="chap1">Chapter 1</fo:block>
    </fo:flow>
    </fo:page-sequence>
    <fo:page-sequence master-reference="main">
    <fo:flow flow-name="xsl-region-body">
    <fo:block>This is the second page sequence</fo:block>
    <fo:block>
    <fo:marker marker-class-name="entry2"><fo:block>Chapter 2</fo:block></fo:marker>
    </fo:block>
    <fo:block id="chap2">Chapter 2</fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>

    Chris

    -------------------
    (*) 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

    -------------------
    (*) 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 : Tue Aug 03 2004 - 07:52:02 PDT