Marre wrote: > Je n'arrive pas ? visulaliser ce fichier docbook autrement qu'en mode > Arbre de balise, TRANSLATION> I cannot display this docbook file using the styled view.
Your DocBook document starts with: --- <!DOCTYPE article SYSTEM "/usr/share/docbook/docbookx.dtd"> --- I have no "/usr/share/docbook/docbookx.dtd" on my Linux box, therefore I was not able to open it! It is highly recommended not to use <!DOCTYPE> like this. We highly recommend you to replace this by: --- <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> --- which will ensure that your documents will be transportable. > xxe reconnait bien le balisage mais ne semble pas reconna^itre qu'il > s'agit d'un fihier docbook ... TRANSLATION> xxe can load the file but does not detect it as being docbook. Now, let's say that you *do not intend* to change your <!DOCTYPE>. In such case, you'll have to modify the way XXE detects documents as being DocBook. [1] Edit <XXE_install_dir>/config/docbook/docbook.xxe using a text editor. [2] In the following detection rule: --- <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> --- Comment out "<schemaType xsi:nil="true"/>", which gives you: --- <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> --- [3] Restart XXE. All this is documented in http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch06s06.html There are cleaner ways to do this which does not require you to modify bundled configurations. This is described in http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch04.html > portant trait? et reconnu par les outils classiques (xsltproc ) ? TRANSLATION> This file is properly handled by other tools such as xsltproc. XXE loads your file as well as (or as badly as, see PS: below) xsltproc does. The only problem is that it is not detected as being DocBook and in such case, you do not benefit from high-level behaviors such as CSS, menus, toolbars, etc. ---- PS: The XML document you sent me is *severely invalid* (XXE displays a red icon at the bottom/left of its window). XXE cannot be confortable to use in such case. Please change: --- <listitem>conna?tre les objectifs et les fonctionnalit?s des SGBD ; </listitem> --- to: --- <listitem><para>conna?tre les objectifs et les fonctionnalit?s des SGBD ; </para></listitem> --- Unlike XHTML <li>s, DocBook <listitem>s cannot directly contain text.

