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

Transformation into XSL:FO

Subject: Transformation into XSL:FO
From: Sebastian Schirmer <schirmer@xxxxxxxxxxxxx>
Date: Fri, 18 May 2001 10:17:03 +0200
transformation into
Hello!

I want to transform a XML source document into a XSL:FO Stylesheet via a XSL
transformation.

For example, I want the following template rule in the result stylesheet:




<xsl:template match="object[@type='page']">
	<fo:block break-before="page">
	
		<fo:block><xsl:value-of
select="property[@name='name']"/></fo:block>
		<fo:block color="white">.</fo:block>	
	</fo:block>
</xsl:template>	



How to manage this?

At the moment it looks like that in my transforming stylesheet and is not
really straight forward:




<xsl:template name="insertheader">
	<xsl:text disable-output-escaping="yes">
		<![CDATA[
<xsl:template match="object[@type='page']">
	<fo:block break-before="page">
	
		<fo:block><xsl:value-of
select="property[@name='name']"/></fo:block>
		<fo:block color="white">.</fo:block>	
	</fo:block>
]]>
	</xsl:text>
</xsl:template>	




Thanks 

Sebastian Schirmer>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.