Michael LeBlanc wrote:
>>
>> My use of chapter *is* a DocBook chapter.  mydoc.dtd is a custom DTD,
>> but only in a very limited sense.  What I really want is to start with
>> DocBook 4.3 and extend it two ways:
>>
>>    1. Add a few declarations like '<!ENTITY company "LeBlanc
>>       Engineering">' to use as shorthand via '&company;' elsewhere in
>>       my files.
>>    2. Enable the xi:include mechanism.  The following code was given
>>       to me as a known method to enable it.
>>
>>
>>      <!-- Enable xi:include --> 
>>      <!ELEMENT xi:include (xi:fallback?)>
>>      <!ATTLIST xi:include
>>         xmlns:xi        CDATA       #FIXED  
>>      "http://www.w3.org/2001/XInclude";
>>         href            CDATA       #IMPLIED
>>         parse           (xml|text)  "xml"
>>         xpointer        CDATA       #IMPLIED
>>         encoding        CDATA       #IMPLIED
>>         accept          CDATA       #IMPLIED
>>         accept-language CDATA       #IMPLIED
>>      >
>>      <!ELEMENT xi:fallback ANY>
>>      <!ATTLIST xi:fallback
>>         xmlns:xi   CDATA   #FIXED   "http://www.w3.org/2001/XInclude";
>>      >
>>
>>
>> The items above are what appear in my mydoc.dtd, after the initial lines
>>
>>     <!ENTITY % docbookx.dtd PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
>>             "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
>>      %docbookx.dtd;
>>
>>

--> In order to give you a quick start, we can send you a ready-to-use
configuration which implements what's described above.

Please specify if you want this configuration to [a] replace the stock
DocBook 4 configuration  or [b] to coexist with the stock DocBook 4
configuration. ([a] is slightly simpler to maintain than [b]).

--> Such configuration, while working, cannot be comfortable to use in
XMLmind XML Editor.

* XMLmind XML Editor natively supports XInclude, but makes the use of
XInclude transparent to the document author. As a consequence, while
this will work OK, XMLmind XML Editor is not designed to make it easy
inserting <xi:include> elements by hand.

* An existing &company; will work as expected but, using  XMLmind XML
Editor, there is *no* *way* to insert a new &company; in a document. See
http://www.xmlmind.com/xmleditor/limitations.html

--> Out of the box, XMLmind XML Editor allows to compose modular
documents based on XInclude and to insert ``XML variables'' such as
"company" with a great productivity.

Therefore, in our opinion, the customization you want is not useful.

Please take the time to read the following chapters of our documentation:

* XMLmind XML Editor - User's Guide
** Tutorial: creating a modular document --
http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html
** Being productive with XXE
*** Quickly insert ``XML variables'' in your document using the Include
tool --
http://www.xmlmind.com/xmleditor/_distrib/doc/user/being_productive.html#include_tool

If you are not convinced, we'll send you a ready-to-use configuration
which implements what's described above.


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to