From 4f72cf4dea047bba10bbe6c45dabc400fff31a25 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Sun, 28 Oct 2007 22:14:19 +0000 Subject: [PATCH] Validation with XIncludes, new links --- docbook/relaxng/docbook/howto/howto.xml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/docbook/relaxng/docbook/howto/howto.xml b/docbook/relaxng/docbook/howto/howto.xml index 65b4bed3d..26f57cc25 100644 --- a/docbook/relaxng/docbook/howto/howto.xml +++ b/docbook/relaxng/docbook/howto/howto.xml @@ -27,6 +27,7 @@ +2007-MM-DD 2007-10-28 2006-10-22 2006-05-16 @@ -144,9 +145,10 @@ attribute instead. As you can see, DocBook V5.0 is built on top of existing XML -standards as much as possible, for example the -lang attribute is superseded by the -standard xml:lang attribute. +standards as much as possible, for example the lang attribute is superseded by the standard +xml:lang attribute. Another fundamental change is that there is no direct indication of the schema used. Later in this document, you will learn how you can @@ -1813,6 +1815,20 @@ happy. This schema can be found in files that end with letters xi + + +How to validate documents which are composed by XInclude? + + +If you are using XIncludes you should make sure that the final +document after resolving all inclusions is valid DocBook V5.0 +instance. This means that all XIncludes should be processed before +validation takes place. The following command can be used to enable +XInclude processing in oNVDL. +java -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration -jar /path/to/oNVDL/bin/onvdl.jar /path/to/docbook.nvdl document.xml + + + @@ -2065,6 +2081,9 @@ available? Sample customization of ITS and DocBook +Examples on +DocBook WiKi -- 2.40.0