[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Merging two xsl documents

Subject: Merging two xsl documents
From: Thomas Winkler <thomasm003@xxxxxxxx>
Date: Fri, 28 Oct 2005 13:18:01 +0200 (CEST)
fo table border collapse
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.