[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

FOP fo:display-graphic problem

Subject: FOP fo:display-graphic problem
From: "Hilton, Peter" <HiltonP@xxxxxxxxxx>
Date: Thu, 9 Dec 1999 10:36:14 -0000
fo display graphic
I'm trying to use fo:display-graphic with FOP, but the graphics appear to be
corrupted in the generated PDF file.

Does fo:display-graphic work in FOP, or am I probably doing something wrong?
I've tried it with GIF and JPEG files from a couple of different sources.
Should I be using a different format?

The XSL-FO follows.
Peter
(Opinions are mine, not my employer's)

--

<fo:root xmlns:fo="http://www.w3.org/XSL/Format/1.0">

	<fo:layout-master-set><fo:simple-page-master
page-master-name="master"><fo:region-body/></fo:simple-page-master></fo:layo
ut-master-set>

	<fo:page-sequence>
		<fo:sequence-specification><fo:sequence-specifier-repeating
page-master-first="master"
page-master-repeating="master"/></fo:sequence-specification>
		<fo:flow>
				<fo:block>
	
http://hilton.org.uk/picture/illustration/hh2.gif
					<fo:display-graphic
href="http://hilton.org.uk/picture/illustration/hh2.gif"/>
					
	
http://hilton.org.uk/picture/photo/belgium/antwerp_hilton_ls.jpeg
					<fo:display-graphic
href="http://hilton.org.uk/picture/photo/belgium/antwerp_hilton_ls.jpeg"/>
					<fo:display-graphic
href="http://xml.apache.org/graphics/index-header.jpg"/>
				</fo:block>
		</fo:flow>
	</fo:page-sequence>

</fo:root>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.