How to validate a DocBook 4.5 document

To validate a DocBook 4.5 document, you must include the DocBook 4.5 DTD in your document:

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE book SYSTEM "http://www.docbook.org/xml/4.5/docbookx.dtd">

<book>

</book>

XMLBlueprint XML Editor will automatically support XML Completion for your DocBook 4.5 document based on the DTD. To validate your DocBook 4.5 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.docbook.org/xml/4.5/docbookx.dtd

in the edit box. Press the Next > button, choose "book" as root element and then press the Finish button. XMLBlueprint will automatically create an empty document with a reference to the DocBook DTD.