Skip to main content
10-Marble
July 18, 2016
Solved

XSL-FO fo:external-graphic content height attribute not working

  • July 18, 2016
  • 1 reply
  • 2403 views

I am having an issue with Arbortext Publishing Engine 7.0 M010 using an XSL-FO stylesheet. PE is not reading the fo:external-graphic content height attribute value.

CODE: <fo:external-graphic src="cams.png" content-height="0.50in"/>

It blows the graphic up more that 10 times the size. The only content height I have been able to get to work is a percentage.

Has anyone else experienced this problem? If so what did you do to correct it?

Thanks,

Sarah Price

Best answer by SarahPrice

This code works:

<fo:external-graphic src="cams.png"  content-height="scale-to-fit" height="0.50in"/>

1 reply

SarahPrice10-MarbleAuthorAnswer
10-Marble
July 18, 2016

This code works:

<fo:external-graphic src="cams.png"  content-height="scale-to-fit" height="0.50in"/>