[xep-support] Background image scaling

Peter Spreenberg pete at movedesign.com
Sun Jan 23 08:31:34 PST 2005


Hi,

I'm new to XSL-FO and XEP so I apologize if this is an ignorant question. In
reference to XEP 4.1 documentation for sizing/scaling background-images:

rx:background-content-height
rx:background-content-width
rx:background-scaling
rx:background-content-type

I don't understand exactly where to place these property statements. I have
the RenderX extensions namespace declared in the fo:root element (xmlns:
rx="http://www.renderx.com/XSL/Extensions"). If I'm using the following to
define a background image for a block-container:

<fo:block-container
    background-image="url(file:image.jpg)
</fo:block-container>

... Where would I place the rx properties?


None of these attempts worked:

<fo:block-container
    background-image="url(file:image.jpg)"
    rx:background-content-width="100pt"
</fo:block-container>

<fo:block-container background-image="url(file:image.jpg)>
    <rx:background-content-width="100pt">
        <xsl:apply-templates/>
    </rx:background-content-width>
</fo:block-container>


I know I'm missing something, thank you in advance for your help.

Peter




-------------------
(*) 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