[xep-support] using a function in an expression

From: Bob Stayton (bobs@sagehill.net)
Date: Mon May 17 2004 - 00:58:36 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] German hyphens for addition"

    I thought one could use property functions in an expression for another
    property. For example, in computing a content-width on a graphic so that it
    responds to the current start-indent, I tried:

    content-width="4in - inherited-property-value(start-indent)"

    But XEP 3.7.8 complains with:

    [warning] Bad attribute content-width: Cannot subtract type Word from type
    Length

    Shouldn't that work?

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net

    -------------------
    (*) 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 17 2004 - 01:18:34 PDT