[xep-support] using a function in an expression

Bob Stayton bobs at sagehill.net
Mon May 17 00:58:36 PDT 2004


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 at sagehill.net



-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list