Re: [xsl] fo:inline within fo:basic-link (extra output space)

Subject: Re: [xsl] fo:inline within fo:basic-link (extra output space)
From: Khaled Aly <ka.aly@xxxxxxxxxx>
Date: Wed, 14 Nov 2007 00:26:43 +0200
Not sure what you mean here. I may process XSLT file with XT or Saxon. I may directly pass it to FOP/XEP or generate the FO and then convert it. The bottom line seems to be that basic-link is an inline element that inserts a space when another "actual" inline element is contained by it. Edit the generated FO and remove the space, the PDF comes good (therefore, FO is innocent). I don't think it is related to indentation since I did not use them near this context. Though I'm too new to make such an assertion, but I am surprised if this issue is "there" but not encountered or dealt with because it is most natural that we would want web links of typical appearance within our PDFs (I've seen documents putting them in blue boxes; and I'm loosing memory if they come as they do in other pdf documents). If so, it may only have to do with my specific overall setup!


David Carlisle wrote:
hmm, it certainly looks like _something_ is indenting, is XSLT doing the
serialising or are you passing an in memory tree to another processor?
yes but an xslt processor has no knowledge in general of where white space is significant in the output (by default all white space in XML is significant) so if you have indenting turned on, then you will typically get white space if you convert that serialised result to a rendered document.

Current Thread