This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Image sizes not descreasing in xsl fo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Image sizes not descreasing in xsl fo" Watch "Image sizes not descreasing in xsl fo" New topic

Image sizes not descreasing in xsl fo

Soumya Madhu

Joined: Dec 24, 2008
Posts: 7

I am using fop 0.20.5.

<xsl:attribute name="src">
<xsl:value-of select="//data/complogo"/>

In my RTF document the logo is showing its actual size. I need to specify the height and width of this logo and want to placed in the first table cell out of 3

| | | |
| | | |
| Logo here | Address here | Name of document here |
| | | |
| | | |

Now i can see only a part of logo as it is showing actual size.

After that I tried the following way:

<fo:external-graphic src="tti.jpg" content-height="1.5in" content-width="3in" vertical-align="left">

this also not worked.
I need to use higher version(.95) of fop for that? if I use it will affect existing xsl ?
Any one please help me.

I agree. Here's the link:
subject: Image sizes not descreasing in xsl fo
It's not a secret anymore!