Re: [xep-support] from-parent()

From: Nikolai Grigoriev (grig@renderx.com)
Date: Wed May 05 2004 - 04:26:29 PDT

  • Next message: Werner Donné: "Re: [xep-support] XEP 3.7.7: Treatment of width="100%""

    Victor,

    > On processing in XEP 3.7.7 client, I receive the following message:
    > [warning] Bad attribute start-indent: Cannot add type Word to type Length
    >
    > I get the same warning with:
    > start-indent="from-parent(start-indent) + 1.5em"

    This is a limitation of XEP: you cannot safely do arithmetics with indents
    and margins. (Technically, it happens because the default 'start-indent'
    is treated not as '0pt' but as a special value, to account for start-indent
    redefinition due to margins.). To make additive expressions work,
    you can add an explicit start-indent="0" specifier somewhere at the top:
    it will populate all descendant nodes with the inherited value. However,
    it is more straightforward to use margins for progressive indentation.

    Regards,
    Nikolai Grigoriev
    RenderX
    -------------------
    (*) 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 : Wed May 05 2004 - 04:58:54 PDT