Document root element for FO output must be one of ... book

Here should go questions about transforming XML with XSLT and FOP.
Posts: 1
Joined: Wed Feb 22, 2006 2:57 pm
Location: London / Amsterdam

Document root element for FO output must be one of ... book

Post by ivanpellegrin » Wed Feb 22, 2006 4:30 pm

I am currently evaluating Oxygen v7.0 standalone on WindowsXP.

I am using the sample.xpr/docbook/sample.xml.

I click on "Configure Transformation Scenario" and select DocbookPDF

I click on "Transform now" and get a very strange error message:
"Document root element for FO output must be one of the following elements: appendix article bibliography book chapter colophon dedication glossary index part preface refentry reference sect1 section set setindex"

In fact the root element for sample.xml is book.

Any advice to solve this problem will be highly appreciated!
Ivan Pellegrin

Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Wed Feb 22, 2006 6:08 pm


The default settings of the predefined scenario Docbook PDF enable transforming the [oxygen-install-folder]/samples/docbook/sample.xml document (and any other Docbook document, as far as I know) to the PDF format (A4 page size) without errors. Please specify the changes that you applied to the scenario, including changes in the values of the XSLT parameters of the docbook.xsl stylesheet. If you do not remember what you changed in the scenario you have two options:

- send us the settings of your transformation scenarios (Options -> Export transformation scenarios) to support at oxygenxml dot com and we will investigate what is wrong with them;

- reset your <oXygen/> options (Options -> Reset Options) and try again. [oxygen-install-folder]/samples/docbook/sample.xml should be transformed to PDF without errors.


Post Reply