xsl-list
[Top] [All Lists]

xsl-fo: how do I inline a jpeg image ....

2004-09-22 08:13:58
Thanks David; this is what I was looking for.
Are there other formatters that support this URL scheme or just XEP?

Also, are there plans to support something like the following?

<fo:instream-foreign-object>
        <fo:image                               <== or even <fo:mime-type/>
                type='image/jpeg'
                encoding='base64'>
                <![CDATA[
                ....
                ]]>
        </fo:image>
</fo:instream-foreign-object>

Thanks,
-- Tom.

Jordan, Tom:
[ Charset windows-1252 unsupported, converting... ]
Hi All:

I need to generate an xsl-fo document with jpeg graphics that
is self contained.

I know that there is fo:external-graphic that will allow you
to point to an external jpeg file.

Can I use fo:inline-foreign-object to embed the jpeg in the .fo
document?

RenderX XEP supports data: URL scheme,  the scheme allows images 
tob be stored in the body of an XSL-FO document.

See http://www.ietf.org/rfc/rfc2397.txt for the specification
of data: URL scheme; http://xep.xattic.com/ contains documentation
and usage examples for RenderX XEP.

David Tolpin

==
"Nothing will ever be attempted, if all
 possible objections must first be
 overcome." - Samuel Johnson 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.764 / Virus Database: 511 - Release Date: 9/15/2004
 

This e-mail or the documents accompanying this e-mail contain
information that may be confidential and/or privileged. It may
also be prohibited from disclosure under applicable law. The
information is intended to be for the use of the individual or
entity named on this transmission. If you are not the intended
recipient, be aware that any disclosure, copying, distribution
or use of the contents of this information is without
authorization and is prohibited. If you have received this
e-mail in error, please notify us immediately so that we can
take action to correct the problem.



<Prev in Thread] Current Thread [Next in Thread>