How to validate an XSL-FO document
To validate an XSL-FO document, you must include the XSL-FO XML Schema in your document:
<?xml version="1.0" encoding="utf-8"?>
<fo:root
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.w3.org/1999/XSL/Format
http://www.xmlblueprint.com/documents/fop.xsd">
<fo:layout-master-set>
</fo:layout-master-set>
<fo:page-sequence master-reference="">
<fo:flow flow-name="">
</fo:flow>
</fo:page-sequence>
</fo:root>
XMLBlueprint XML Editor will automatically support XML Completion for your XSL-FO document based on the XML Schema. To validate your XSL-FO document, open it in XMLBlueprint XML Editor and click XML > Validate.
TIP -- In XMLBlueprint, choose File > New > XML Document with DTD, Relax NG Schema, or XML Schema and paste
http://www.xmlblueprint.com/documents/fop.xsd
in the edit box. Press the Next > button, choose "root" as root element and then press the Finish button. XMLBlueprint will automatically create an empty document with a reference to the XSL-FO XML Schema.
