Andre Marthaler wrote:
> I want integrate a Link into a Text.
> I formatting the "a" Tag, but he'S making a break before and after the "<a
> href" Link.
> I dont know how to disable this feature.
>
> So the PDF is looking like this:
>
> Lorem ipsum dolor sit amet, consetetur [
> myLink
> ] sadipscing elitr.
>
> ------------
> He's making a break before and after "myLink".
...
><xsl:template match="a">
>
<fo:block>
^^^^^^^^^
Well, if you want a link to be inline why do you place it in <fo:block> ?
Use <fo:inline> or nothing at all:
<xsl:template match="a">
<fo:basic-link external-destination="http://www.graffitiart.de"
color="blue">
<fo:inline
text-decoration="underline"><xsl:apply-templates/></fo:inline>
</fo:basic-link>
</xsl:template>
--
Oleg Tkachenko
Multiconn International, Israel
|