Marre wrote:
> - first : the opened existing docbook file is opened in the hierachical 
> tree windows but not in the standard vysywig window ...
> how can I explicitly express that it' a docbbok file ?

This is specified in the detection rule contained in the DocBook 
configuration file for XXE (XXE_install_dir/config/docbook/docbook.xxe).

Excerpt of XXE_install_dir/config/docbook/docbook.xxe:

---
<detect>
   <and>
     <rootElementNamespace xsi:nil="true" />
     <not>
       <dtdPublicId substring="true">Simplified</dtdPublicId>
     </not>
     <or>
       <dtdPublicId substring="true">DTD DocBook XML</dtdPublicId>
       <dtdPublicId substring="true">DTD DocBook EBNF</dtdPublicId>
       <dtdPublicId substring="true">DTD DocBook HTML Forms</dtdPublicId>
       <dtdPublicId substring="true">DTD DocBook MathML</dtdPublicId>
       <dtdPublicId substring="true">DTD DocBook SVG</dtdPublicId>
       <and>
         <schemaType xsi:nil="true" />
         <or>
            <rootElementLocalName>part</rootElementLocalName>
            <rootElementLocalName>chapter</rootElementLocalName>
            <rootElementLocalName>refentry</rootElementLocalName>
            <rootElementLocalName>appendix</rootElementLocalName>
            <rootElementLocalName>glossary</rootElementLocalName>
            <rootElementLocalName>section</rootElementLocalName>
            <rootElementLocalName>sect1</rootElementLocalName>
            <rootElementLocalName>sect2</rootElementLocalName>
            <rootElementLocalName>sect3</rootElementLocalName>
            <rootElementLocalName>book</rootElementLocalName>
            <rootElementLocalName>article</rootElementLocalName>
         </or>
       </and>
     </or>
   </and>
</detect>
---

You can easily see that if your existing DocBook document does not match 
the above rule, the document will not be detected as being DocBook by XXE.


Reply via email to