This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Transformation into XSL:FO
- To: "Xsl-List (E-Mail)" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Transformation into XSL:FO
- From: Sebastian Schirmer <schirmer at sitewaerts dot de>
- Date: Fri, 18 May 2001 10:17:03 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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