W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2007

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

From: Khaled Aly <ka.aly@luxsci.net>
Date: Sun, 11 Nov 2007 01:26:12 +0200
Message-ID: <47363E14.6030708@luxsci.net>
To: www-xsl-fo@w3.org
Tony, all

I still feel this is a FO issue and not FOP specific, because:
    - I got the same (-ve) result using XEP.
    - The problem is eliminated by removing the fo:inline.
    - I fixed this manually by removing the newline and/or space from 
around the <fo:inline> in the FO file.

I also tried adding fo:inline to the xsl:strip-space element list, but 
still. Keeping the fo:inline is needed to provide the normal web link 

Does anyone have the same situation fo:inline within fo:basic-link, 
without the generated output padding spaces? If so what 
processor/version please, and can you send a sample fragment that works?

Many thanks for help


I've added the element WebLink to xsl:strip-space to overcome, but 
didn't work.

The source is:
    employing <WebLink url="http://www.xml.org" 
<http://www.xml.org>>XML</WebLink>-based single-sourcing.

The xslt for element WebLink:
<xsl:template match="WebLink">
  <xsl:attribute name="external-destination"><xsl:value-of 
  <fo:inline color="blue" 

The Saxon generated FO is:
    employing <fo:basic-link external-destination="http://www.xml.org" 
<http://www.xml.org>><fo:inline color="blue" 

And the FOP 0.93 (and XEP 4) generated PDF is (an extra space around "XML"):
    employing  XML -based single-sourcing.

Received on Saturday, 10 November 2007 23:26:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:31 UTC