[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|