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 XMLDOCFor the compact syntax, you also need the option -c:
jing -c mydb.rnc XMLDOCThe file mydb.rng is the name of your customization file. Replace XMLDOC with the file name of your XML document.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top