[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: fo:inline within fo:basic-link (extra output space

Subject: Re: fo:inline within fo:basic-link (extra output space)
From: Khaled Aly <ka.aly@xxxxxxxxxx>
Date: Wed, 14 Nov 2007 00:26:43 +0200
Re:  fo:inline within fo:basic-link (extra output space
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!

Regards
Khaled

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.
David

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.