W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2001

Re: more FO problems

From: G. Ken Holman <gkholman@cranesoftwrights.com>
Date: Fri, 06 Jul 2001 08:39:56 -0400
Message-Id: <>
To: www-xsl-fo@w3.org
At 01/07/06 13:35 +0100, Kerin Cosford wrote:
>When I try and process this FO info. (just a snippet) :
>             <fo:simple-page-master master-name="all-pages"
>                 margin-right="0.5cm">
>                 <!--<fo:region-before extent="1cm"/>-->
>             <fo:region-body
>                 margin-top="1.1cm" />
>             </fo:simple-page-master>
>I get the error "The content of element type 'fo:simple-page-master' must


>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?

The order ... can you see that the content model requires the body to be 
first and the others after?  You were trying to define the before first and 
the body second.

I hope this helps.

..................... Ken

G. Ken Holman                      mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.               http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0     +1(613)489-0999   (Fax:-0995)
Web site:     XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book:  Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public instructor-led training:      2001-08-12,08-13,09-19,10-01,
-                                               10-04,10-22,10-29,02-02

Training Blitz: 3-days XSLT/XPath, 2-days XSLFO in Ottawa 2001-10-01/05
Received on Friday, 6 July 2001 08:40:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:25 UTC