SamSam . wrote:
> 
> I use XMLmind XML Editor Personal Edition 3.8.0 and I would like to know 
> how I can create a new DocBook file based on the version 4.4 of the DTD? 
> Because, now, the interface only suggests the versions 5 or 4.5. And I 
> have seen that the DTD 4.4 was installed in the software. So, I want to 
> use it but I don't know which menu permits to change it and I think that 
> it is possible...
> 

* If you open an existing DocBook 4.4 in XXE, you automatically used the 
4.4 DTD. That is, it will not convert it to a DocBook 4.5 document.

* If you create a new DocBook document in XXE, you'll automatically 
create a DocBook 4.5 document. This can be changed by modifying 
XXE_install_dir/addon/config/docbook/docbook.xxe.

Replace:
---
   <template name="Book" location="template/V4.5/book.xml" />
   <template name="Article" location="template/V4.5/article.xml" />
   <template name="Part" location="template/V4.5/part.xml" />
   <template name="Chapter" location="template/V4.5/chapter.xml" />
   <template name="Refentry" location="template/V4.5/refentry.xml" />
   <template name="Appendix" location="template/V4.5/appendix.xml" />
   <template name="Glossary" location="template/V4.5/glossary.xml" />
   <template name="Section" location="template/V4.5/section.xml" />
---
by
---
   <template name="Book" location="template/V4.4/book.xml" />
   <template name="Article" location="template/V4.4/article.xml" />
   <template name="Part" location="template/V4.4/part.xml" />
   <template name="Chapter" location="template/V4.4/chapter.xml" />
   <template name="Refentry" location="template/V4.4/refentry.xml" />
   <template name="Appendix" location="template/V4.4/appendix.xml" />
   <template name="Glossary" location="template/V4.4/glossary.xml" />
   <template name="Section" location="template/V4.4/section.xml" />
---

* How to do this without editing bundled XXE configuration files 
(cleaner and more maintenable) is explained here: 
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/replace_template.html



Reply via email to