[xep-support] from-parent()

From: Victor Mote (vic@portagepub.com)
Date: Mon May 03 2004 - 10:27:24 PDT

  • Next message: Nikolai Grigoriev: "Fw: [xep-support] Re: [xep-announce] XEP.NET is released"

    Hello XEP crew:

    I have the following:
     
        <fo:list-block
        ...
            start-indent="from-parent() + 1.5em"
        ...

    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"

    If I leave off the "+ 1.5em", it runs with no errors or warnings, so it
    appears that the "from-parent" function works, but that the processor
    objects to the additive expression.

    It seems like I should be able to do this (see note in Sec. 5.9.10.1 of the
    XSL-FO spec), and I don't see any limitation noted in the XEP doc. Should
    this work?

    BTW, my purpose is to progressively indent nested lists, and I realize that
    there may be other ways to accomplish this.

    Thanks very much.

    Victor Mote (mailto:vic@outfitr.com)
    2025 Eddington Way
    Colorado Springs, Colorado 80916
    Voice +1 (719) 622-0650
    Fax +1 (720) 293-0044

    -------------------
    (*) 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 : Mon May 03 2004 - 10:38:53 PDT