using xslfo to generate pdf file

hi,

I met this problem here when I used xslfo to generate the PDF file.
I wonder if xslfo support multiple layer loop in generating PDF.

I got this xml :
<A>
    <B>
        <D>
        <D>
    <B>
        <D>
        <D>
        <D>
</A>


<xsl:template match="A">
    <fo:flow>
    <xsl:apply-template/>
    </fo:flow>
</xsl:template>

and:
<xsl:template match="B">
    <fo:block>
    <xsl:apply-template/>
    </fo:block>
</xsl:template>

<xsl:template match="D">
    <fo:block font="10pt" wrap-option="wrap">
    <xsl:value-of select="D"/>
    </fo:block>
</xsl:template>

after I generated the PDF, I found the the font and wrap-option
for D is not applied. what's the problem? is it because there
are too many layers of recursive?

Thanks a lot,
yuan

Received on Friday, 6 October 2000 14:59:47 UTC