XML technologies / DocBook / Customizing DocBook / DocBook 5 structure / Validating with a DocBook 5 customization file

(Excerpt from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" by Thomas Schraitle)

The previous section showed the structure of a DocBook 5 customization file. To use it for your documents, specify its file name directly in your RELAX NG validator. With the validator jing this looks as follows for the XML syntax of RELAX NG:

jing mydb.rng XMLDOC

For the compact syntax, you also need the option -c:

jing -c mydb.rnc XMLDOC

The file mydb.rng is the name of your customization file. Replace XMLDOC with the file name of your XML document.

  

back to top