Vincent Quesniaux wrote:
> 
> 
> I have noticed that I could not open Docbook files which include
> declarations of entities (see example below) when testing the XXE
> personal edition 3.6.0.
> 

I cannot reproduce this behavior. I can open files such as the following
one provided that (1) it is well-formed and that (2) all entity files
(e.g. http://doc.solsoft.com/dtd/customization-guide-variables.ent)
really exist.

May be you mean: "I get a warning dialog box saying that XXE will
flatten my document because it does not support text entities"?

This does not mean that you cannot open such files in XXE.



> 
> Is this possible with the professional edition? If yes, how do you make it?

No.

If you need to work with ``XML variables'', we have an alternate
(standard, based on XInclude) solution.

Please take the time to read:

* "Chapter 3. Tutorial: creating a modular document"
http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html

and especially "Extensive use of the "Copy as Reference" command"
http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html#extensive_copy_as_reference

* XXE Pro has an Include tool specially designed to make it very easy
working with ``XML variables''. More information in "Quickly insert
``XML variables'' in your document using the Include tool"
http://www.xmlmind.com/xmleditor/_distrib/doc/user/being_productive.html#include_tool



> Can you also set XXE to use customized docbook stylesheets (xsl)?
> 

Sure. How to do it is explained here:
"Customizing the XSL style sheets used by the above Convert commands"
http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html#docbook_convert_menu



> 
> ---------------------
> 
> Example:
> 
>  
> 
> <?xml version="1.0" encoding="utf-8"?>
> 
> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> 
>     "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
> 
> [
> 
> <!ENTITY % customization-guide-variables SYSTEM
> "http://doc.solsoft.com/dtd/customization-guide-variables.ent"; >
> 
> %customization-guide-variables;
> 
> ]>
> 
> ---------------------
> 

Reply via email to