This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Transformation into XSL:FO


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]