On 07/09/2012 05:47 PM, Stefan Seefeld wrote: > On 2012-07-09 11:34, Hussein Shafie wrote: > >> You cannot associate multiple configurations to a single document type >> (in your case, DocBook v5+). You need to artificially create multiple >> document types based on DocBook v5+. > > Oh, that's a shame. I'd very much prefer if the documents were still > entirely valid DB 5 documents (using valid version strings), and the > association with a particular xxe configuration would be something I > maintain outside of the document itself. > Is there any chance this could be done in the near future ?
No, because this is technically impossible (well, at least, I really don't see who this could be done). XXE must have a way to make a distinction between a DocBook v5+/IEEE document and DocBook v5+/OMG document. If you don't like the idea of having a distinct value for the "version "attribute, then use a different file extension for DocBook v5+/IEEE and DocBook v5+/OMG. Example: ".db5_ieee" and ".db5_omg". See <fileNameExtension> in http://www.xmlmind.com/xmleditor/_distrib/doc/configure/detect.html > (I'm not > necessarily working on these documents alone, and so they need to remain > valid and xxe-agnostic as I share them with co-workers.) > > In fact, the association between a document and a configuration doesn't > have to persist across xxe sessions. However, it would be really useful > if the "active configuration" was somewhere visible, to give a clear > indication of which stylesheet was being used during pdf generation. > > > But thanks for the version string tip. I'll use that for now as a > workaround. > It's not a workaround. The solution I've suggested is clean and should pause no interchange problem whatsoever. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

