converting from XML to pdf: looping in XSL FO

I have a set of data which is dynamic.i.e the no. of rows is unpredictable.

So, I want to use a <xsl:for-each . My code looks like:

><xsl:for-each select="parent::EC-REPORT/TITLE-HEADER">

<fo:block line-height="19pt" font-weight="bold" font-size="10pt" keep-together="always" text-align="center">

<xsl:value-of select="."/>

</fo:block>

</xsl:for-each>

The block element in XSL FO is supposed to print the data in separate lines. But I see that all the data is coming continuously. Also I want to put multiple conditons using <xml:choose>. But when I use XML choose element, my data is not coming at all.

Thanks

susmitha

[722 byte] By [lingamaneni04a] at [2007-11-27 8:08:42]
# 1
To preserve line breaks use white-space-collapse and linefeed-treatment http://xmlgraphics.apache.org/fop/fo.html#fo-preformat
dvohra09a at 2007-7-12 19:51:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Refer http://xmlgraphics.apache.org/fop/fo.html#fo-preformat
dvohra09a at 2007-7-12 19:51:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...