Camille B?gnis wrote: > > Oh OK I just need to specify a different name attribute for the > <relaxng> element. Thanks, got it. > > If I dare I think maybe a behavior like the one described here could be > implemented: http://www.docbook.org/docs/howto/#cust-naming (I think > Jirka designed this) > By adding a new attribute to the <relaxng> element, we could have > something like that: > > <relaxng compactSyntax="true" encoding="ISO-8859-1" location="dict.rnc" > name="http://docbook.org/ns/docbook" > version="5.0-subset LSWE-DICT-1.0"/>
Jirka is right. The "name" attribute is just a moniker for use by XXE. Using name="http://docbook.org/ns/docbook#5.0-subset LSWE-DICT-1.0" or (any other non-empty xs:token) should be fine. > Likewise the standard DocBook templates provided by XXE should maybe > provide the version attribute in the root element. > > One last question: why are the docbook and docbookxi addons mutually > exclusive? They have the same <detect> rule. Moreover, you can create modular documents using the "DocBook5" configuration. Unlike what happens with the "DocBook5 + XInclude", the ``modules'' are transcluded and you can use high-level commands such as "Copy As Reference"/"Paste". Therefore this is a matter of personal taste and I cannot believe one could like both ways of creating modular documents.

