Subject: [xsl] Merging two xsl documents From: Thomas Winkler <thomasm003@xxxxxxxx> Date: Fri, 28 Oct 2005 13:18:01 +0200 (CEST) |
Hello, I have one XSL-FO Stylesheet which contains the header data. Then I got several XSL-FO files with the appropriate tables. How can I merge these two XSL-FO files ? The end of the header XSL-FO looks like this : <xsl:value-of select="customer/@adress"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <!--> The content of the second XSL-FO should be added here <!--> <fo:block id="last-page"/> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> The table XSL-FO looks like this : <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:block space-before.optimum="30pt" space-after.optimum="20pt" font-weight="bold" font-size="14pt"> <fo:inline text-decoration="underline"> table data </fo:inline> </fo:block> <fo:table border-collapse="separate" border-width="0.5pt" border-color="black" table-layout="fixed" text-align="left" line-height="13pt" font-size="8pt"> ... </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </xsl:stylesheet> The result should be like this : <xsl:value-of select="customer/@adress"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:block space-before.optimum="30pt" space-after.optimum="20pt" font-weight="bold" font-size="14pt"> <fo:inline text-decoration="underline"> table data </fo:inline> </fo:block> <fo:table border-collapse="separate" border-width="0.5pt" border-color="black" table-layout="fixed" text-align="left" line-height="13pt" font-size="8pt"> .... </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:block id="last-page"/> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> Thanks in advance ! Thomas ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] unnecessary soap elements, Ragulf Pickaxe | Thread | Re: [xsl] Merging two xsl documents, António Mota |
Re: [xsl] unnecessary soap elements, Ragulf Pickaxe | Date | Re: [xsl] unnecessary soap elements, David Carlisle |
Month |