Subject: Re: [xsl] Merging two xsl documents From: António Mota <amsmota@xxxxxxxxx> Date: Fri, 28 Oct 2005 12:44:59 +0100 |
I don0t know nothing about FO, but dosen't the XSL include or import do justa that? On 10/28/05, Thomas Winkler <thomasm003@xxxxxxxx> wrote: > 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 -> |
---|---|---|
[xsl] Merging two xsl documents, Thomas Winkler | Thread | Re: [xsl] Merging two xsl documents, Ragulf Pickaxe |
Re: [xsl] unnecessary soap elements, David Carlisle | Date | Re: [xsl] Merging two xsl documents, Ragulf Pickaxe |
Month |