Re: [xep-support] Error with SVG background image using FTP

From: Alexei Gagarinov <agagarinov@renderx.com>
Date: Tue Jun 17 2008 - 20:57:29 PDT

Hi Kevin,

> How do we tell XEP that this file should be 'image/svg+xml' rather than
> 'application/xml'?

XEP has a set of extensions for background images. These extensions have
the same meaning and syntax as the XSL-FO attributes for "ordinary" images.

You need the rx:background-content-type extension.

<fo:table-cell
background-image="url(ftp://ftp.xxxx.xx.xx/pub/xml/xep/icons/newcircle-4mm-empty.svg)"
background-repeat="no-repeat"
rx:background-content-type="content-type:image/svg+xml"/>

For details, see http://www.renderx.com/reference.html#Background_Image

Best regards,
   Alexei Gagarinov
RenderX

---
www.renderx.com
www.renderx.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/terms-of-service.html
Received on Tue Jun 17 21:28:44 2008

This archive was generated by hypermail 2.1.8 : Tue Jun 17 2008 - 21:28:45 PDT