xsl-list
[Top] [All Lists]

Re: Merging two xsl documents

2005-10-28 04:44:59
I don0t know nothing about FO, but dosen't the XSL include or import
do justa that?

On 10/28/05, Thomas Winkler <thomasm003(_at_)yahoo(_dot_)de> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>