[xep-support] from-parent()

Victor Mote vic at portagepub.com
Mon May 3 10:27:24 PDT 2004


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 at 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 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