more FO problems

Hi again everyone,

Sorry to keep hitting you up for information, but I'm still learning my way
around FO. And, yes, I've got another problem that I can't work out.

When I try and process this FO info. (just a snippet) :

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
	
	    <fo:simple-page-master master-name="all-pages"
	        page-height="29.7cm"
	        page-width="21cm"
	        margin-top="0.5cm"
	        margin-bottom="0.5cm"
	        margin-left="1cm"
	        margin-right="0.5cm">
		<!--<fo:region-before extent="1cm"/>-->
	    <fo:region-body
	        margin-top="1.1cm" />
	    </fo:simple-page-master>
		
		<fo:page-sequence-master master-name="contents">
			<fo:repeatable-page-master-reference
master-name="all-pages"/>
		</fo:page-sequence-master>
		
	</fo:layout-master-set>
	
		<fo:page-sequence master-name="contents">
		
			<fo:static-content flow-name="xsl-region-before">
			    <fo:block font-family="Helvetica"
font-size="10pt"
			         text-align="center">
			        <xsl:apply-templates
select="fm/bibl/title/p"/>
			    </fo:block>
			 </fo:static-content>
 
			<fo:flow flow-name="xsl-region-body">
				<xsl:apply-templates/>
			</fo:flow>
		</fo:page-sequence>
	
</fo:root>



I get the error "The content of element type 'fo:simple-page-master' must
match
'(fo:region-body,fo:region-before?,fo:region-after?,fo:region-start?,fo:regi
on-end?)"

But, as you can see, fo:simple-page-master contains nothing but
fo:region-body and fo:region-before.

What am I doing wrong? If I take the fo:region-before part out, it all
parses fine. Can anybody see a problem?

Thanks again,

Kerin

Received on Friday, 6 July 2001 08:34:05 UTC