Top "Xsl-fo" questions

XSL-FO (XSL Formatting Objects) is a markup language for XML document formatting which is most often used to generate printed content.

XSL-FO - Empty block elements

I have a quite simple template: <xsl:template match="p"> <fo:block> <xsl:apply-templates/> &…

xsl-fo
Underline block element with different font sizes without an interrupted line

I am trying to underline an block element that contains text. The block has an font-size attribute and the text …

xsl-fo apache-fop
Adding line break in a PDF with XSL-FO?

Trying to create a PDF file based on an XML and a file using XMLSpy. I'm trying to split a …

xml xslt xsl-fo
Generating PDF from XML in Java using ApacheFOP

I am trying to generate on-the-fly PDF reports from Java objects. I have not been able to find many examples …

xml xslt pdf xsl-fo apache-fop
Put XSL-FO block on next page instead of splitting it across pages

I created an XSL-FO template which prints a few blocks containing texts that change dynamically. Sometimes a block is split …

xsl-fo
Is there a way to use the equivalent of 'rowspan' in XSL-FO?

I want to display a text with a bigger font in the leftmost column of an <fo:table>. …

xslt xsl-fo
How to draw horizontal line in fo-block?

i need to implement next layout: here's my code: <fo:block text-align="center">United Nations Organisation</fo:…

xsl-fo
xsl:fo different colors/fonts in one block

Suppose I have an xsl:fo block: <fo:block>one two three</fo:block> Can I …

xsl-fo
How to do an XSL:for-each in reverse order

I am looking to reverse in XSL/FO a for-each loop. for instance the xml <data> <record …

xml xslt xsl-fo
Scale down to fit an image in FOP

I am using FOP version 1.0 to create PDFs. In one of the pages I'd like to display an image (2552 x 4200 …

image pdf size xsl-fo apache-fop