Jirka Kosek wrote: > Hussein Shafie wrote: > >>* OR a clean configuration for XMLmind XML Editor, which leverages the >>stock DocBook V5 configuration, but which is separated from it. > > I'm just wondering whether you have already implemented feature > discussed while ago which will allow to choose between configurations > based not only on namespace but also on attribute value. Without it I > think it is impossible to use in parallel standard addon for DocBook V5 > and custom addon implementing DocBook V5 based customization. Or am I > missing something? > >
Yes. In my previous email, I've written this PS (Post Scriptum) about it: Hussein Shafie wrote: > --------------- > PS (for Jirka): There is now a way to cleanly handle customizations of > DocBook V5 in XXE: > > [1] The configuration for the customization should have a "detect" rule > which is different from the stock configuration. This "detect" rule must > make use of "rootElementAttribute" (see > http://www.xmlmind.com/xmleditor/_distrib/doc/configure/detect.html). > Example: > > <rootElementAttribute localName="version" value="acme" substring="true"/> > > [2] All the document templates must have a root element having the > corresponding attribute. Example: > > <book xmlns="http://docbook.org/ns/docbook" > version="5.0-extension acme-1.0">...

