[xep-support] Background image scaling

From: Peter Spreenberg <pete@movedesign.com>
Date: Sun Jan 23 2005 - 08:31:34 PST

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@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
Received on Sun Jan 23 08:58:51 2005

This archive was generated by hypermail 2.1.8 : Sun Jan 23 2005 - 08:58:52 PST