xsl-fo

XSL:FO processors for the .net platform

Currently I am looking for a good solid xsl:fo processor to use within a .net application. I have seen a few but alot of them use the java virtual machine, which is something I do want to have running on the web server. I must have a .net implementation, one I have found so far which is open source is fo.net on codeplex, although it does...

Rounded corners in XSL-FO

Our client's request is to have tables in PDF with rounded corner. I only have Apache FOP processor at my disposal and it doesn't support the rounded corner attribute. It also doesn't support floats, so floating rounded images to left and to right cannot be done. Do you have any suggestions on how to do this? ...

xsl-fo block-quotes with quote marks

Hi, I am trying to code a something quite simple which is complicated greatly by xsl-fo inline and block level elements. Here is a sample of the XML: <quote-block open="&quot;" close="&quot;"> <quote-para>text...</quote-para> <list> <item>...</item> <item>...</item> </list> <quote-paragraph> <para>...</pa...

How do I overflow the contents of a column into the next column using XSL-FO?

I have a table with three columns in which I'm trying to get some long paragraphs to flow dynamically from the first column into the second and then into the third. Currently, the table will continue on a next page when the first column overflows instead of moving into the second column and so I get several pages filled with only a singl...

Dynamic XSL file

I have 3 XSL files which have paths in them to something like C:\templates\Test\file.pdf This path isn't always going to be the same and rather than having it hard coded in the XSL, I'd like it so that the path C:\templates\test\ is replaced with a tag [BASEPATH] and when I read in the xsl file into the XSLTransform object (yes I know i...

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>. The columns to the right however should consist of a couple of rows with smaller text. This is how the XSL code looks like before adding any leftmost column with larger text: <xsl:template name="printAddress"> <xsl:param name="subDocument" /> <fo:t...

How to put table headers on every page in print-version of my page (using xsl)?

I have a huge xml file. And it's being transformed to html table with xsl. In browser it's a single page with vertical scrollbar. But when I want to print the document I can see about 10 pages. I want to add table headers to every printed page. Sample xml: <page> <document> <id>100</id> <name>SomeName</name> <dat...

ASP .net current physical location

Hi I am developing an ASP.net web application. I need to find the current location (physical) of the web site (or the bin directory containing the assemblies). I have tried using Directory.GetCurrentDirectory() and that returns me the ASP .net temporary directory. I really don't like the idea of include an application setting for the ...

xslfo processors for .net (64 bit machines)

Any recommendations for .net xslfo processors (takes an xslfo file and converts to pdf) that can either be compiled into 64 bit assemblies or are sold that way? (Our preference is free open source, but we are also considering paying as well). ...

docbook maxwidth on images? (xml:fo)

is there a way to specify the maximum width of images in a docbook xsl-transform? we have a problem with screen shots being to big to fit on a page, and thus would like to set a max width on images in the output. specifying the width of the image in the Docbook XML files seems bad form (the Docbook file should be about content not pres...

xsl fo base link problem with password protected pdf in fop 0.95

Hi all. I have successfully generated password protected pdf using xsl fo from apache foundation's fop 0.95 engine. Now the problem comes with the base-link with external-destination specified. Clicking the links work no more. On hover, the link shows the tooltip of the form: "file:///C:/myfolder/some-strange-special-characters". However...

XSL FO Table border has gaps in it when the cell is filled with a background color

I have a fo:table defined with border="1px solid black". Some rows in the table have cell background-color="green". At different zoom levels, the border is not continuous- on some colored rows, it disappears from the right sometimes. At another zoom level they appear fine. Any idea what's going wrong? Thanks Luanne ...

How to display fixed image height and width using xsl-fo with apache fop 0.95

I am trying to fix the height and width of image in pdf generated using fop 0.95. Here is the code used for it <fo:external-graphic src="s\image.png" height="2.00in" width="2.00in"/> Following also does not work <fo:external-graphic src="s\image.png" content-height="scale-to-fit" height="2.00in" content-width="2.00in"/> These giv...

Generating XSL FO

Hi, Are there any XSLT parsers (like MSXML 4.0) helping to retrieve the XSL FO document during the XSL-Transformaion Process ? In other words, how do I get a XSL FO file from a XML and XSL file ? Thanks, Aiwee ...

Limit number of pages in FOP output

Hi, I am generating a pdf file using FOP. My requirement is to limit the number of pages in pdf to 2 and the remaining contents can be discarded. Is it possible? Thanks in Advance. ...

XSL-FO compared to classical technologies

I have recently started to experiment with XSL-FO; It seems well supported, all XSL-FO vendors are very helpful, and you can start with little (or no) money. My company bought a heavy duty (40k pages per minute) IBM printer back in the 90's but its software is now quite obsolete. XSL-FO looks promising, but I am wondering if older, wel...

Set image size relative to page size

Hi, I am generating pdf files using FOP. is used to include images. My requirement is to set the width and height of image relative to the page size. Thanks in Advance. ...

Which is the Best commercial xsl fo engine ?

We have been using apache's fop 0.95 as our xsl fo engine. We basically use fop 0.95 to generate pdf documents from xml files. During the run of time we have felt that it would be better by far if we could buy some other commercial xsl fo engine that supports: pdf watermark image support to unicode [like arabic, russian, dutch, greek e...

Page column overflow

Hi, I am using XSLT -> FO to generate PDF. I have generated two column pages (by setting column-count to 2 in region-body). But when the length of a string exceeds the size of the column and there is no spaces in the string - then it runs over to next column. I want to occupy the string within the same column. The same happens when I...

Overflow of contents of a column to next column

Hi, I am using XSLT -> FO to generate PDF. I have generated two column pages (by setting column-count to 2 in region-body). But when the length of a string exceeds the size of the column and there is no spaces in the string - then it runs over to next column. I want to occupy the string within the same column. The same happens when I...