Hello, i use FOP 0.20.3 under Linux and Win2k.
I have a Problem using XSL Templates. i use an XML with an XSL File. 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". Here are my XSL: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE fo:root [ <!ENTITY nbsp " "> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:template match="/"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-width="210mm" page-height="297mm" margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0cm" margin-right="0cm"> <fo:region-before extent="3.8cm"/> <fo:region-body margin-top="3.7cm" margin-bottom="3cm" margin-left="1cm" margin-right="1cm"/> <fo:region-after extent="2cm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4" initial-page-number="1"> <!-- Region Before --> <fo:static-content flow-name="xsl-region-before"> <fo:block> <fo:external-graphic src="file:/bild1.jpg"/> </fo:block> <fo:table table-layout="fixed"> <fo:table-column column-width="17cm"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block margin-left="1cm" margin-right="1cm" color="#3C6EA0" font-family="sans-serif" font-weight="bold" font-size="14px">Headline</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:static-content> <!-- Region After --> <fo:static-content flow-name="xsl-region-after"> <fo:block> <fo:external-graphic src="file:/bild2.jpg"/> </fo:block> </fo:static-content> <!-- Region Body --> <fo:flow flow-name="xsl-region-body"> <fo:table table-layout="fixed"> <fo:table-column column-width="7cm"/> <fo:table-column column-width="10cm"/> <fo:table-body> <xsl:apply-templates select="page"/> </fo:table-body> </fo:table> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> <xsl:template match="a"> <fo:block> <fo:basic-link external-destination="http://www.graffitiart.de" color="blue"> <fo:inline text-decoration="underline"><xsl:apply-templates/></fo:inline> </fo:basic-link> </fo:block> </xsl:template> <xsl:template match="br"> <fo:block></fo:block> </xsl:template> <xsl:template match="body/content/zelle_rechts"> <fo:block> <xsl:apply-templates /> </fo:block> </xsl:template> <xsl:template match="page"> <fo:table-row> <fo:table-cell> <fo:block> <fo:external-graphic src="file:/bild1.jpg"/> </fo:block> </fo:table-cell> <fo:table-cell> <fo:block> <xsl:apply-templates select="body/content/zelle_rechts"/> <!-- <xsl:value-of select="body/content/zelle_rechts"/> --> </fo:block> </fo:table-cell> </fo:table-row> </xsl:template> </xsl:stylesheet> --------------------------- The XML to this: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE content [ <!ENTITY nbsp " "> <!ENTITY amp "&"> ]> <page> <body page="agentur"> <navigation/> <!-- Anzeigen der Subnavigation --> <sub_navigation> <name>wir über uns</name> <link>00</link> <link url="/agentur/01">01</link> <link url="/agentur/02">02</link> <link url="/agentur/03">03</link> </sub_navigation> <content> <zelle_links> <img src="/gfx/pic_agentur_00.jpg" width="260" height="250"/> </zelle_links> <zelle_rechts> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. <br/> <br/> Duis autem vel eum iriure dolor [<a href="/agentur/03">myLink</a>] in vulputate velit esse molestie consequat. <br/> </zelle_rechts> </content> <footer/> </body> </page> ---------------------- Sorry for so many Code, but Thx for your Help!!!! :-) Andre Marthaler.