RE: [xep-support] Using rx:footnote-column-count to create multi-column footnotes

From: <mike.kelly@thomsonreuters.com>
Date: Tue Mar 23 2010 - 02:44:17 PST

Hi Remko,

If you remove the rx: namespace prefix your code should work as expected i.e.

<fo:region-body margin-left="21mm" margin-right="21mm" margin-top="12.23mm" margin-bottom="7mm" footnote-column-count="2"/>

Regards,
Mike Kelly.

-----Original Message-----
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com] On Behalf Of Remko de Hoop
Sent: 23 March 2010 10:12
To: 'xep-support@renderx.com'
Subject: [xep-support] Using rx:footnote-column-count to create multi-column footnotes

Hi,

We use Stylus Studio / Xep bundled to develop our stylesheets for XSL:FO. In this we would like to use the RenderX extension rx:footnote-column-count but this seems not to work as expected.

Documentation tells us that this is an attribute added to the fo:region-body but when I insert it there I get validation errors in both the Xep 8.14 bundled with Stylus Studio and the Xep 8.18 personal version.

Sadly I can't seem to find an example anywhere on the site and the documentation tells me no more then to use it on the region-body. Does someone have an idea of what I'm doing wrong?

Error given by XEP:

Post processing starting...
XEP 4.18 build 20100322
(document [system-id file:/q:/xml/folders/data/xml-fo.xml]
  (validate
    [error] Attribute 'rx:footnote-column-count' cannot occur at element 'fo:region-body'.
    [error] Attribute 'rx:footnote-column-gap' cannot occur at element 'fo:region-body'.
    [error] Attribute 'rx:footnote-column-count' cannot occur at element 'fo:region-body'.

Part of the XSL:FO used:

<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:altsoft="http://alt-soft.com/xml2pdf/extensions" xmlns:rx="http://www.renderx.com/XSL/Extensions">
    <fo:layout-master-set>
        <fo:simple-page-master page-width="210mm" page-height="297mm" master-name="Cover">
            <fo:region-body region-name="CoverBody" margin-top="68mm" margin-bottom="34mm" margin-left="39mm" padding-top="8mm" padding-bottom="10mm" padding-left="10mm" padding-right="11mm" background-color="#C7EDFF"/>
            <fo:region-before region-name="CoverHead" extent="68mm" padding-top="9mm" padding-bottom="7.5mm" padding-left="24mm" padding-right="24mm" background-color="#FFFFFF" border-bottom-color="#0746D7" border-bottom-style="solid"
                              border-bottom-width="1mm"/>
            <fo:region-after region-name="CoverFoot" extent="34mm" precedence="true" background-color="#70D1FF"/>
            <fo:region-start region-name="CoverLeft" extent="39mm" background-color="#70D1FF" border-right-color="#0746D7" border-right-style="solid" border-right-width="0.7mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master page-width="210mm" page-height="297mm" master-name="CoverBack">
            <fo:region-body region-name="CoverBody" padding-top="20mm" padding-bottom="20mm" padding-left="10mm" padding-right="45mm"/>
        </fo:simple-page-master>
        <fo:simple-page-master page-width="210mm" page-height="297mm" master-name="BackCover">
            <fo:region-body region-name="CoverBody" margin-top="11mm" margin-bottom="28mm" margin-left="24mm" margin-right="10mm" background-color="#C7EDFF"/>
            <fo:region-after region-name="CoverFoot" extent="34mm" padding-after="8mm" background-color="#C7EDFF"/>
        </fo:simple-page-master>
        <fo:simple-page-master page-width="210mm" page-height="297mm" margin-left="15mm" margin-right="25mm" master-name="OpinieLeftCover">
            <fo:region-body margin-top="20mm" margin-bottom="22.5mm" column-count="2" column-gap="10mm" rx:footnote-column-count="3" rx:footnote-column-gap="5mm" region-name="PageBody"/>
            <fo:region-after extent="15mm" region-name="LeftPageFoot"/>
        </fo:simple-page-master>
...

Kind regards,

Remko de Hoop
 
Horlings & Eerbeek Automatisering B.V.

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

This e-mail is for the sole use of the intended recipient and contains information that may be privileged, confidential or copyrighted under applicable law. Any distribution, use or printing by anyone else is prohibited. If you are not an intended recipient, please notify the sender by return e-mail and delete this e-mail and any attachments from your system.
--------------------------------------------------------------------------
The sender is an independent contractor currently under contract with Thomson Reuters (Legal) Limited.
--------------------------------------------------------------------------
Thomson Reuters (Legal) Limited
Registered Office 100 Avenue Road, London NW3 3PF
Registered in England & Wales: Company No. 1679046

-------------------
(*) 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 Mar 23 03:07:24 2010

This archive was generated by hypermail 2.1.8 : Tue Mar 23 2010 - 03:07:31 PST