Fabrizio Tringali wrote:
FOPException: page-sequence must be child of root, not fo:flow

Any other ideas or I have to change other lines ??
The same idea, but apply templates to chapters not from within fo:flow, but from within fo:root, something like this:

<xsl:template match="/">
        <fo:root>
                <xsl:call-temaplte name="layout-builder"/>
                <xsl:apply-temapltes select="chapter"/>
        </fo:root>
</xsl:temaplte>

<xsl:template match="chapter">
        <fo:page-sequence ...>
                <fo:flow ...>
                        <fo:block><xsl:value select="@title"/></fo:block>
                        <xsl:apply-temapltes/>
                </fo:flow>
        </fo:page-sequence>
</xsl:chapter>

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to