[xsl] FOPException: fo:flow must contain block-level children

Subject: [xsl] FOPException: fo:flow must contain block-level children
From: Thomas Chiverton <thomas.chiverton@xxxxxxxxxxxxxx>
Date: Tue, 9 Sep 2003 14:04:10 +0100
I'm in the process of doing some fairly basic XML to PDF stuff, and I'm 
getting this exception, and I'm not sure why.
I have (to summerise a much longer xsl):
<xsl:for-each select="report/body/section">
  <xsl:for-each select="section">
    <fo:page-sequence master-reference="main">                                                                                                                      	
    <fo:flow flow-name="xsl-region-body"> 
      <xsl:sort select="@name" order="ascending" data-type="text"/>
			<fo:block><xsl:value-of select="@name"/></fo:block>

Which as far as I can tell, should work - all my blocks are in flows, in a 
page-sequence ?
Does anyone have any hints as to what might be up ?
Tom Chiverton (sorry 'bout sig.)
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: tom.chiverton@xxxxxxxxxxxxxx
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread